Antonio scanModem USA kernel 2.6.29.4-167.fc11.x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear fellow modem users,

Is anyone else experiencing difficulties with martain modem drivers on
x86_64 ?

[olivares@black-amd64-home Download]$ tar -zxvf martian-full-20080625.tar.gz
martian-full-20080625/
martian-full-20080625/martian.h
martian-full-20080625/Makefile
martian-full-20080625/INSTALL
martian-full-20080625/Concept
martian-full-20080625/Makefile~
martian-full-20080625/Cleaning.txt
martian-full-20080625/README
martian-full-20080625/kmodule/
martian-full-20080625/kmodule/Makefile
martian-full-20080625/kmodule/marsio.h
martian-full-20080625/kmodule/kmartian.h
martian-full-20080625/kmodule/martian_ids.c
martian-full-20080625/kmodule/fifo.h
martian-full-20080625/kmodule/mfifo.h
martian-full-20080625/kmodule/martian.c
martian-full-20080625/kmodule/marsio.c
martian-full-20080625/kmodule/mfifo.c
martian-full-20080625/kmodule/mixspinlock.h
martian-full-20080625/scripts/
martian-full-20080625/scripts/martian
martian-full-20080625/scripts/remove_outdated.sh
martian-full-20080625/scripts/martian.in
martian-full-20080625/scripts/wv.conf
martian-full-20080625/scripts/automate.sh
martian-full-20080625/ChangeLog
martian-full-20080625/modem/
martian-full-20080625/modem/Makefile
martian-full-20080625/modem/tweakcore.sh
martian-full-20080625/modem/main.c
martian-full-20080625/modem/debug_script.in
martian-full-20080625/modem/ltmdmobj.o
martian-full-20080625/modem/watch.gdb
martian-full-20080625/modem/sysdep.h
martian-full-20080625/modem/watch3.gdb
martian-full-20080625/modem/dumpers.c
martian-full-20080625/modem/elf386tweakrelocs.c
martian-full-20080625/modem/log.h
martian-full-20080625/modem/core_if.c
martian-full-20080625/modem/coreadd.c
martian-full-20080625/modem/mport.h
martian-full-20080625/modem/coresubst.c
martian-full-20080625/modem/ASWMLICENSE
martian-full-20080625/modem/README
martian-full-20080625/modem/mport.c
martian-full-20080625/modem/isr.c
martian-full-20080625/modem/core.h
martian-full-20080625/modem/watch2.gdb
martian-full-20080625/modem/tweakrelocsdynamic.c
martian-full-20080625/modem/log.c
martian-full-20080625/modem/session.c
martian-full-20080625/modem/watch4.gdb
martian-full-20080625/modem/pty.c
martian-full-20080625/modem/sysdep.c
martian-full-20080625/modem/common.h
martian-full-20080625/modem/main.h
martian-full-20080625/modem/smp.c
martian-full-20080625/modem/watch.h
martian-full-20080625/modem/overriden_core_functions
martian-full-20080625/modem/profile.c
martian-full-20080625/modem/link.c
martian-full-20080625/modem/mixspinlock.h
[olivares@black-amd64-home Download]$ cd martian-full-20080625
[olivares@black-amd64-home martian-full-20080625]$ make -C kmodule/ modules
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.4-167.fc11.x86_64/build
M="/home/olivares/Download/martian-full-20080625/kmodule"  modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.4-167.fc11.x86_64'
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian.o
/home/olivares/Download/martian-full-20080625/kmodule/martian.c: In
function ‘martian_isr’:
/home/olivares/Download/martian-full-20080625/kmodule/martian.c:131:
warning: value computed is not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/marsio.o
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:358:
warning: ‘mars_read_register_rem’ defined but not used
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:371:
warning: ‘mars_write_register_rem’ defined but not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/mfifo.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.mod.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.29.4-167.fc11.x86_64'
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
[olivares@black-amd64-home martian-full-20080625]$ su -c 'make -C
kmodule/ install'
Password:
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.4-167.fc11.x86_64/build
M="/home/olivares/Download/martian-full-20080625/kmodule"
modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.29.4-167.fc11.x86_64'
  INSTALL /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.29.4-167.fc11.x86_64
make[1]: Leaving directory `/usr/src/kernels/2.6.29.4-167.fc11.x86_64'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
[olivares@black-amd64-home martian-full-20080625]$

[olivares@black-amd64-home martian-full-20080625]$ su -
Password:
[root@black-amd64-home ~]# modprobe martian_dev
[root@black-amd64-home ~]# martian_modem
-bash: martian_modem: command not found

[root@black-amd64-home ~]# modprobe martian_dev
[root@black-amd64-home ~]# martian_modem
-bash: martian_modem: command not found
[root@black-amd64-home ~]# dmesg | grep 'martian'
martian loaded - 20080620
martian 0000:04:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
martian: added device 11c1:44e BaseAddress = 0xbc00, CommAddres =
0xbf00, irq = 18
[root@black-amd64-home ~]# lsmod | grep 'martian_dev'
martian_dev            24712  0
[root@black-amd64-home ~]#

Yesterday I tried to install also before applying updates but it is failing.

Thanks for advice/suggestions/provided in advance.  Getting ready for
Fedora 11 release and something is not working.  Same modem driver
works in Fedora 9 also installed here :)

Regards,

Antonio
 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 2.6.29.4-167.fc11.x86_64 
 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=x86_64,  
Linux version 2.6.29.4-167.fc11.x86_64 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed May 27 17:27:08 EDT 2009
 scanModem update of:  2009_05_31


Some modem drivers can only be used in 32 bit modem on x86_64 systems,
while some others are competent on x86_64 Systems.  Cases are:
1) http://linmodems.technion.ac.il/bigarch/archive-seventh/msg03119.html 
for the snd-hda-intel audio+modem driver. Also applicable to AC97 modem controllers.
In both cases, 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component.
2) For USB modems using the slusb.ko driver. 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component
3) The hsfmodem and hcfpcimodem drivers for Conexant chipsest modes are x86_64 competent.

 There are no blacklisted modem drivers in /etc/modprobe*  files 
 Potentially useful modem drivers now loaded are:
         snd_hda_intel   martian_dev    

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx

For candidate card in slot 04:05.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 04:05.0	11c1:044e	11c1:044c	Communication controller: Agere Systems LT WinModem 

 Modem interrupt assignment and sharing: 
 18:          0   IO-APIC-fasteoi   164x
 --- Bootup diagnostics for card in PCI slot 04:05.0 ----
pci 0000:04:05.0: reg 10 32bit mmio: [0xdfaff000-0xdfaff0ff]
pci 0000:04:05.0: reg 14 io port: [0xbf00-0xbf07]
pci 0000:04:05.0: reg 18 io port: [0xbc00-0xbcff]
pci 0000:04:05.0: supports D2
pci 0000:04:05.0: PME# supported from D2 D3hot D3cold
pci 0000:04:05.0: PME# disabled
martian 0000:04:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18

 The PCI slot 04:05.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.
 

For candidate card in slot 80:01.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 80:01.0	1106:3288	1462:7253	Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] 

 Modem interrupt assignment and sharing: 
 17:       4079   IO-APIC-fasteoi   HDA Intel
 --- Bootup diagnostics for card in PCI slot 80:01.0 ----
pci 0000:80:01.0: reg 10 64bit mmio: [0xbfffc000-0xbfffffff]
pci 0000:80:01.0: PME# supported from D0 D3hot D3cold
pci 0000:80:01.0: PME# disabled
HDA Intel 0000:80:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
HDA Intel 0000:80:01.0: setting latency timer to 64
HDA Intel 0000:80:01.0: PCI: Disallowing DAC for device

 The PCI slot 80:01.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.
 


===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The ALSA verion is 1.0.18
The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 1
00-01: ALC883 Digital : ALC883 Digital : playback 1
00-02: ALC883 Analog : ALC883 Analog : capture 1

about /proc/asound/cards:
------------------------
 0 [VT82xx         ]: HDA-Intel - HDA VIA VT82xx
                      HDA VIA VT82xx at 0xbfffc000 irq 17

 PCI slot 80:01.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.29.1-102.fc11.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.29.4-167.fc11.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
UNEXPECTED HDA diagnostic outcome.
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 04:05.0:
	Modem chipset  detected on
NAME="Communication controller: Agere Systems LT WinModem "
CLASS=0780
PCIDEV=11c1:044e
SUBSYS=11c1:044c
IRQ=18
IDENT=Agere.DSP

 For candidate modem in:  04:05.0
   0780 Communication controller: Agere Systems LT WinModem 
      Primary device ID:  11c1:044e
 Support type needed or chipset:	Agere.DSP
 



Predictive  diagnostics for card in bus 80:01.0:
	Modem chipset not detected on
NAME="Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] "
CLASS=0403
PCIDEV=1106:3288
SUBSYS=1462:7253
IRQ=17
HDA=1106:3288
SOFT=1106:3288.HDA


 High Definition Audio (HDA) cards MAY host a modem chip in their Subsystem, 
 and many are supported by the ALSA audio+modem driver snd-hda-intel
 A modem was not detected on HDA card 1106:3288.
 If another modem card is present, then most likely 1106:3288 does not host a modem.
 If another modem card has not been detected, then possibilities are:
	1) A Conexant modem chip is present on 1106:3288, as Conexant chips
 are frequently not detectable by ALSA diagnostics
	2) The modem may be of the older non-PCI Controller Chipset (hardware) type.
Try detection with Root permission:
	 wvdialconf  /etc/wvdial.conf

 For candidate modem in:  80:01.0
   0403 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] 
      Primary device ID:  1106:3288
    Subsystem PCI_id  1462:7253 
    Softmodem codec or chipset from diagnostics: 
                               from    Archives: 
                        
      

Support type needed or chipset:	

Support can likely be achieved through two mutually exclusive alternatives:
1) The hsfmodem software for Conexant chipset modems: Read DOCs/Conexant.txt
The following ALSA alternative CANNOT work with Conexant modems.

2) An ALSA modem driver plus slmodemd.  Read DOCs/Smartlink.txt for details, and
to test get the package SLMODEMD.gcc4.4.tar.gz from:
	http://linmodems.technion.ac.il/packages/smartlink/

Writing DOCs/Smartlink.txt
============ end Smartlink section =====================

 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev

 Versions adequately match for the compiler installed: 4.4.0
             and the compiler used in kernel assembly: 4.4.0


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.4
   linuc_headers base folder /lib/modules/2.6.29.4-167.fc11.x86_64/build

 However some compilations and executable functions may need additional files,
 in the FileNames.h (so called kernel "h"eaders) collection installed in  /usr/include/ .
 For martian_modem, additional required packages are needed. The also required headers of package libc6 are commonly installed by default. 
 Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions.
 In not included on your install CD, search for them at http://packages.ubuntu.com
 or comparable Repository for other Linux distros.
 When compiling ALSA drivers, the utility "patch" will also be needed.




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:
	-r-xr-xr-x. 1 root root 352328 2009-03-06 01:47 /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)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	 chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
lock

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

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:

     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------

Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.29.4-167.fc11.x86_64 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed May 27 17:27:08 EDT 2009
Command line: ro root=/dev/mapper/vg_blackamd64home-lv_root rhgb quiet
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  Centaur CentaurHauls
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000077ef0000 (usable)
 BIOS-e820: 0000000077ef0000 - 0000000077ef3000 (ACPI NVS)
 BIOS-e820: 0000000077ef3000 - 0000000077f00000 (ACPI data)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
DMI 2.4 present.
Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
last_pfn = 0x77ef0 max_arch_pfn = 0x100000000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
init_memory_mapping: 0000000000000000-0000000077ef0000
 0000000000 - 0077e00000 page 2M
 0077e00000 - 0077ef0000 page 4k
kernel direct mapping tables up to 77ef0000 @ 10000-14000
last_map_addr: 77ef0000 end: 77ef0000
RAMDISK: 37cdf000 - 37fef2c8
ACPI: RSDP 000F7CE0, 0014 (r0 K8M890)
ACPI: RSDT 77EF3040, 0038 (r1 K8M890 AWRDACPI 42302E31 AWRD        0)
ACPI: FACP 77EF30C0, 0074 (r1 K8M890 AWRDACPI 42302E31 AWRD        0)
FADT: X_PM1a_EVT_BLK.bit_width (16) does not match PM1_EVT_LEN (4)
ACPI: DSDT 77EF3180, 6DE7 (r1 K8M890 AWRDACPI     1000 MSFT  100000E)
ACPI: FACS 77EF0000, 0040
ACPI: SSDT 77EFA080, 0115 (r1 PTLTD  POWERNOW        1  LTP        1)
ACPI: HPET 77EFA200, 0038 (r1 K8M890 AWRDACPI 42302E31 AWRD       98)
ACPI: MCFG 77EFA280, 003C (r1 K8M890 AWRDACPI 42302E31 AWRD        0)
ACPI: APIC 77EF9FC0, 0074 (r1 K8M890 AWRDACPI 42302E31 AWRD        0)
ACPI: Local APIC address 0xfee00000
Scanning NUMA topology in Northbridge 24
No NUMA configuration found
Faking a node at 0000000000000000-0000000077ef0000
Bootmem setup node 0 0000000000000000-0000000077ef0000
  NODE_DATA [0000000000012000 - 0000000000026fff]
  bootmap [0000000000027000 -  0000000000035fdf] pages f
(6 early reservations) ==> bootmem [0000000000 - 0077ef0000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000006000 - 0000008000]       TRAMPOLINE ==> [0000006000 - 0000008000]
  #2 [0000200000 - 0000ac700c]    TEXT DATA BSS ==> [0000200000 - 0000ac700c]
  #3 [0037cdf000 - 0037fef2c8]          RAMDISK ==> [0037cdf000 - 0037fef2c8]
  #4 [000009f800 - 0000100000]    BIOS reserved ==> [000009f800 - 0000100000]
  #5 [0000010000 - 0000012000]          PGTABLE ==> [0000010000 - 0000012000]
found SMP MP-table at [ffff8800000f3ec0] 000f3ec0
 [ffffe20000000000-ffffe20001bfffff] PMD -> [ffff880001200000-ffff880002dfffff] on node 0
Zone PFN ranges:
  DMA      0x00000010 -> 0x00001000
  DMA32    0x00001000 -> 0x00100000
  Normal   0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x00077ef0
On node 0 totalpages: 491135
  DMA zone: 56 pages used for memmap
  DMA zone: 2350 pages reserved
  DMA zone: 1577 pages, LIFO batch:0
  DMA32 zone: 6661 pages used for memmap
  DMA32 zone: 480491 pages, LIFO batch:31
Detected use of extended apic ids on hypertransport bus
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x03] address[0xfecc0000] gsi_base[24])
IOAPIC[1]: apic_id 3, version 0, address 0xfecc0000, GSI 24-47
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x11068201 base: 0xfed00000
SMP: Allowing 2 CPUs, 1 hotplug CPUs
nr_irqs_gsi: 48
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
Allocating PCI resources starting at 78000000 (gap: 77f00000:68100000)
NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Allocating 57344 bytes of per cpu data
Built 1 zonelists in Node order, mobility grouping on.  Total pages: 482068
Policy zone: DMA32
Kernel command line: ro root=/dev/mapper/vg_blackamd64home-lv_root rhgb quiet
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Fast TSC calibration using PIT
Detected 2199.956 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
allocated 19660800 bytes of page_cgroup
please try cgroup_disable=memory option if you don't want
Checking aperture...
AGP bridge at 00:00:00
Aperture from AGP @ d0000000 old size 32 MB
Aperture from AGP @ d0000000 size 128 MB (APSIZE f20)
Node 0: aperture @ d0000000 size 128 MB
Memory: 1904136k/1964992k available (3786k kernel code, 452k absent, 60404k reserved, 2294k data, 1304k init)
SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
hpet clockevent registered
HPET: 3 timers in total, 0 timers will be used for per-cpu timer
Calibrating delay loop (skipped), value calculated using timer frequency.. 4399.91 BogoMIPS (lpj=2199956)
Security Framework initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0/0x0 -> Node 0
tseg: 0077f00000
using C1E aware idle routine
SMP alternatives: switching to UP code
ACPI: Core revision 20081204
ftrace: converting mcount calls to 0f 1f 44 00 00
ftrace: allocating 18888 entries in 149 pages
Setting APIC routing to flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
CPU0: AMD Athlon(tm) Processor LE-1600 stepping 03
Brought up 1 CPUs
Total of 1 processors activated (4399.91 BogoMIPS).
sizeof(vma)=176 bytes
sizeof(page)=56 bytes
sizeof(inode)=560 bytes
sizeof(dentry)=192 bytes
sizeof(ext3inode)=760 bytes
sizeof(buffer_head)=104 bytes
sizeof(skbuff)=232 bytes
sizeof(task_struct)=5880 bytes
CPU0 attaching NULL sched-domain.
net_namespace: 1904 bytes
Booting paravirtualized kernel on bare hardware
regulator: core version 0.5
Time: 22:01:33  Date: 06/03/09
NET: Registered protocol family 16
TOM: 0000000080000000 aka 2048M
node 0 link 0: mmio [a0000, bffff]
node 0 link 0: mmio [80000000, bfffffff]
node 0 link 0: mmio [c0000000, cfffffff]
node 0 link 0: mmio [d0000000, dcffffff]
node 0 link 0: mmio [dd000000, ddffffff]
node 0 link 0: mmio [de000000, ffff]
bus: [00,ff] on node 0 link 0
bus: 00 index 0 io port: [0, ffff]
bus: 00 index 1 mmio: [a0000, bffff]
bus: 00 index 2 mmio: [80000000, fcffffffff]
bus: 00 index 3 mmio: [de000000, ffff]
ACPI: bus type pci registered
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: MCFG area at e0000000 reserved in E820
PCI: Using MMCONFIG at e0000000 - efffffff
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:00.0: reg 10 32bit mmio: [0xd0000000-0xd7ffffff]
pci 0000:00:02.0: PME# supported from D0 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: PME# supported from D0 D3hot D3cold
pci 0000:00:03.0: PME# disabled
pci 0000:00:0f.0: reg 10 io port: [0xff00-0xff07]
pci 0000:00:0f.0: reg 14 io port: [0xfe00-0xfe03]
pci 0000:00:0f.0: reg 18 io port: [0xfd00-0xfd07]
pci 0000:00:0f.0: reg 1c io port: [0xfc00-0xfc03]
pci 0000:00:0f.0: reg 20 io port: [0xfb00-0xfb0f]
pci 0000:00:0f.0: reg 24 io port: [0xf400-0xf4ff]
pci 0000:00:0f.1: reg 20 io port: [0xfa00-0xfa0f]
pci 0000:00:10.0: reg 20 io port: [0xf900-0xf91f]
pci 0000:00:10.0: supports D1 D2
pci 0000:00:10.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.0: PME# disabled
pci 0000:00:10.1: reg 20 io port: [0xf800-0xf81f]
pci 0000:00:10.1: supports D1 D2
pci 0000:00:10.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.1: PME# disabled
pci 0000:00:10.2: reg 20 io port: [0xf700-0xf71f]
pci 0000:00:10.2: supports D1 D2
pci 0000:00:10.2: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.2: PME# disabled
pci 0000:00:10.3: reg 20 io port: [0xf600-0xf61f]
pci 0000:00:10.3: supports D1 D2
pci 0000:00:10.3: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.3: PME# disabled
pci 0000:00:10.4: reg 10 32bit mmio: [0xdffff000-0xdffff0ff]
pci 0000:00:10.4: supports D1 D2
pci 0000:00:10.4: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.4: PME# disabled
pci 0000:00:12.0: reg 10 io port: [0xf200-0xf2ff]
pci 0000:00:12.0: reg 14 32bit mmio: [0xdfffe000-0xdfffe0ff]
pci 0000:00:12.0: supports D1 D2
pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:12.0: PME# disabled
pci 0000:01:00.0: reg 10 32bit mmio: [0xc0000000-0xcfffffff]
pci 0000:01:00.0: reg 14 32bit mmio: [0xdd000000-0xddffffff]
pci 0000:01:00.0: reg 30 32bit mmio: [0x000000-0x00ffff]
pci 0000:01:00.0: supports D1 D2
pci 0000:00:01.0: bridge io port: [0xe000-0xefff]
pci 0000:00:01.0: bridge 32bit mmio: [0xdd000000-0xdeffffff]
pci 0000:00:01.0: bridge 32bit mmio pref: [0xc0000000-0xcfffffff]
pci 0000:00:02.0: bridge io port: [0xd000-0xdfff]
pci 0000:00:02.0: bridge 32bit mmio: [0xdfc00000-0xdfcfffff]
pci 0000:00:02.0: bridge 64bit mmio pref: [0xdfb00000-0xdfbfffff]
pci 0000:00:03.0: bridge io port: [0xc000-0xcfff]
pci 0000:00:03.0: bridge 32bit mmio: [0xdfe00000-0xdfefffff]
pci 0000:00:03.0: bridge 64bit mmio pref: [0xdfd00000-0xdfdfffff]
pci 0000:04:05.0: reg 10 32bit mmio: [0xdfaff000-0xdfaff0ff]
pci 0000:04:05.0: reg 14 io port: [0xbf00-0xbf07]
pci 0000:04:05.0: reg 18 io port: [0xbc00-0xbcff]
pci 0000:04:05.0: supports D2
pci 0000:04:05.0: PME# supported from D2 D3hot D3cold
pci 0000:04:05.0: PME# disabled
pci 0000:00:13.1: transparent bridge
pci 0000:00:13.1: bridge io port: [0xb000-0xbfff]
pci 0000:00:13.1: bridge 32bit mmio: [0xdfa00000-0xdfafffff]
pci 0000:00:13.1: bridge 64bit mmio pref: [0xdf900000-0xdf9fffff]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEXG._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2PB._PRT]
ACPI: PCI Root Bridge [PCI1] (0000:80)
pci 0000:80:01.0: reg 10 64bit mmio: [0xbfffc000-0xbfffffff]
pci 0000:80:01.0: PME# supported from D0 D3hot D3cold
pci 0000:80:01.0: PME# disabled
ACPI: PCI Interrupt Routing Table [\_SB_.PCI1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 *10 11 12)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 *10 11 12)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 6 7 10 11 12) *5
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
pci 0000:00:00.0: BAR 0: can't allocate resource
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
agpgart-amd64 0000:00:00.0: AGP bridge [1106/0336]
agpgart-amd64 0000:00:00.0: AGP aperture is 128M @ 0xd0000000
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 comparators, 32-bit 14.318180 MHz counter
pnp: PnP ACPI init
ACPI: bus type pnp registered
Switched to high resolution mode on CPU 0
pnp 00:10: mem resource (0xcc000-0xcffff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
pnp 00:10: mem resource (0xf0000-0xf7fff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
pnp 00:10: mem resource (0xf8000-0xfbfff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
pnp 00:10: mem resource (0xfc000-0xfffff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
pnp 00:10: mem resource (0x0-0x9ffff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
pnp 00:10: mem resource (0x100000-0x77eeffff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
pnp: PnP ACPI: found 17 devices
ACPI: ACPI bus type pnp unregistered
system 00:01: ioport range 0x400-0x47f has been reserved
system 00:01: ioport range 0x500-0x50f has been reserved
system 00:02: ioport range 0x4d0-0x4d1 has been reserved
system 00:02: ioport range 0x290-0x297 has been reserved
system 00:0d: iomem range 0xf0000000-0xf0000fff has been reserved
system 00:0e: iomem range 0xe0000000-0xefffffff has been reserved
system 00:10: iomem range 0x77f00000-0x77ffffff has been reserved
system 00:10: iomem range 0xfed00000-0xfed000ff has been reserved
system 00:10: iomem range 0x77ef0000-0x77efffff could not be reserved
system 00:10: iomem range 0xffff0000-0xffffffff has been reserved
system 00:10: iomem range 0x78000000-0x7fffffff has been reserved
system 00:10: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:10: iomem range 0xfee00000-0xfee00fff has been reserved
system 00:10: iomem range 0xfff80000-0xfffeffff has been reserved
pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
pci 0000:00:01.0:   IO window: 0xe000-0xefff
pci 0000:00:01.0:   MEM window: 0xdd000000-0xdeffffff
pci 0000:00:01.0:   PREFETCH window: 0x000000c0000000-0x000000cfffffff
pci 0000:00:02.0: PCI bridge, secondary bus 0000:02
pci 0000:00:02.0:   IO window: 0xd000-0xdfff
pci 0000:00:02.0:   MEM window: 0xdfc00000-0xdfcfffff
pci 0000:00:02.0:   PREFETCH window: 0x000000dfb00000-0x000000dfbfffff
pci 0000:00:03.0: PCI bridge, secondary bus 0000:03
pci 0000:00:03.0:   IO window: 0xc000-0xcfff
pci 0000:00:03.0:   MEM window: 0xdfe00000-0xdfefffff
pci 0000:00:03.0:   PREFETCH window: 0x000000dfd00000-0x000000dfdfffff
pci 0000:00:13.1: PCI bridge, secondary bus 0000:04
pci 0000:00:13.1:   IO window: 0xb000-0xbfff
pci 0000:00:13.1:   MEM window: 0xdfa00000-0xdfafffff
pci 0000:00:13.1:   PREFETCH window: 0x000000df900000-0x000000df9fffff
pci 0000:00:01.0: setting latency timer to 64
  alloc irq_desc for 27 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
pci 0000:00:02.0: PCI INT A -> GSI 27 (level, low) -> IRQ 27
pci 0000:00:02.0: setting latency timer to 64
  alloc irq_desc for 31 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
pci 0000:00:03.0: PCI INT A -> GSI 31 (level, low) -> IRQ 31
pci 0000:00:03.0: setting latency timer to 64
pci 0000:00:13.1: setting latency timer to 64
pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
pci_bus 0000:01: resource 0 io:  [0xe000-0xefff]
pci_bus 0000:01: resource 1 mem: [0xdd000000-0xdeffffff]
pci_bus 0000:01: resource 2 mem: [0xc0000000-0xcfffffff]
pci_bus 0000:01: resource 3 mem: [0x0-0x0]
pci_bus 0000:02: resource 0 io:  [0xd000-0xdfff]
pci_bus 0000:02: resource 1 mem: [0xdfc00000-0xdfcfffff]
pci_bus 0000:02: resource 2 mem: [0xdfb00000-0xdfbfffff]
pci_bus 0000:02: resource 3 mem: [0x0-0x0]
pci_bus 0000:03: resource 0 io:  [0xc000-0xcfff]
pci_bus 0000:03: resource 1 mem: [0xdfe00000-0xdfefffff]
pci_bus 0000:03: resource 2 mem: [0xdfd00000-0xdfdfffff]
pci_bus 0000:03: resource 3 mem: [0x0-0x0]
pci_bus 0000:04: resource 0 io:  [0xb000-0xbfff]
pci_bus 0000:04: resource 1 mem: [0xdfa00000-0xdfafffff]
pci_bus 0000:04: resource 2 mem: [0xdf900000-0xdf9fffff]
pci_bus 0000:04: resource 3 io:  [0x00-0xffff]
pci_bus 0000:04: resource 4 mem: [0x000000-0xffffffffffffffff]
pci_bus 0000:80: resource 0 io:  [0x00-0xffff]
pci_bus 0000:80: resource 1 mem: [0x000000-0xffffffffffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs... it is
Freeing initrd memory: 3136k freed
audit: initializing netlink socket (disabled)
type=2000 audit(1244066493.481:1): initialized
HugeTLB registered 2 MB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
msgmni has been set to 3725
SELinux:  Registering netfilter hooks
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
agpgart-amd64 0000:00:00.0: MSI quirk detected; MSI disabled
PCI: VIA PCI bridge detected. Disabling DAC.
pci 0000:01:00.0: Boot video device
pcieport-driver 0000:00:02.0: setting latency timer to 64
pcieport-driver 0000:00:03.0: setting latency timer to 64
aer 0000:00:02.0:pcie01: service driver aer loaded
aer 0000:00:03.0:pcie01: service driver aer loaded
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp 0000:00:02.0:pcie02: HPC vendor_id 1106 device_id a238 ss_vid 0 ss_did 0
pciehp 0000:00:02.0:pcie02: service driver pciehp loaded
pciehp 0000:00:03.0:pcie02: HPC vendor_id 1106 device_id c238 ss_vid 0 ss_did 0
pciehp 0000:00:03.0:pcie02: service driver pciehp loaded
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
ACPI: Power Button (CM) [PWRB]
processor ACPI_CPU:00: registered as cooling_device0
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
brd: module loaded
loop: module loaded
Fixed MDIO Bus: probed
input: Macintosh mouse button emulation as /devices/virtual/input/input2
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  alloc irq_desc for 21 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
ehci_hcd 0000:00:10.4: PCI INT C -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 21, io mem 0xdffff000
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.29.4-167.fc11.x86_64 ehci_hcd
usb usb1: SerialNumber: 0000:00:10.4
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
  alloc irq_desc for 20 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
uhci_hcd 0000:00:10.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 20, io base 0x0000f900
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.29.4-167.fc11.x86_64 uhci_hcd
usb usb2: SerialNumber: 0000:00:10.0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
  alloc irq_desc for 22 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
uhci_hcd 0000:00:10.1: PCI INT B -> GSI 22 (level, low) -> IRQ 22
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 22, io base 0x0000f800
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.29.4-167.fc11.x86_64 uhci_hcd
usb usb3: SerialNumber: 0000:00:10.1
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: PCI INT C -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 21, io base 0x0000f700
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.29.4-167.fc11.x86_64 uhci_hcd
usb usb4: SerialNumber: 0000:00:10.2
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
  alloc irq_desc for 23 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
uhci_hcd 0000:00:10.3: PCI INT D -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 23, io base 0x0000f600
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.29.4-167.fc11.x86_64 uhci_hcd
usb usb5: SerialNumber: 0000:00:10.3
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
rtc_cmos 00:04: RTC can wake from S4
rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one year, y3k, 242 bytes nvram, hpet irqs
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@xxxxxxxxxx
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
registered taskstats version 1
  Magic number: 13:519:46
Initalizing network drop monitor service
Freeing unused kernel memory: 1304k freed
Write protecting the kernel read-only data: 1844k
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
sata_via 0000:00:0f.0: version 2.4
sata_via 0000:00:0f.0: PCI INT B -> GSI 21 (level, low) -> IRQ 21
sata_via 0000:00:0f.0: routed to hard irq line 11
scsi0 : sata_via
scsi1 : sata_via
ata1: SATA max UDMA/133 cmd 0xff00 ctl 0xfe00 bmdma 0xfb00 irq 21
ata2: SATA max UDMA/133 cmd 0xfd00 ctl 0xfc00 bmdma 0xfb08 irq 21
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
ata1.00: ATA-7: MAXTOR STM3160815AS, 3.AAD, max UDMA/133
ata1.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
isa bounce pool size: 16 pages
scsi 0:0:0:0: Direct-Access     ATA      MAXTOR STM316081 3.AA PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 < sda5 sda6 sda7 > sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
EXT4-fs: barriers enabled
kjournald2 starting: pid 60, dev dm-0:8, commit interval 5 seconds
EXT4-fs: delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs: mounted filesystem dm-0 with ordered data mode
type=1404 audit(1244066495.943:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
SELinux: 8192 avtab hash slots, 123719 rules.
SELinux: 8192 avtab hash slots, 123719 rules.
SELinux:  8 users, 11 roles, 2722 types, 127 bools, 1 sens, 1024 cats
SELinux:  74 classes, 123719 rules
SELinux:  Completing initialization.
SELinux:  Setting up existing superblocks.
SELinux: initialized (dev dm-0, type ext4), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses genfs_contexts
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev inotifyfs, type inotifyfs), uses genfs_contexts
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
type=1403 audit(1244066496.151:3): policy loaded auid=4294967295 ses=4294967295
udev: starting version 141
k8temp 0000:00:18.3: Temperature readouts might be wrong - check erratum #141
pata_via 0000:00:0f.1: version 0.3.3
scsi2 : pata_via
scsi3 : pata_via
ata3: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfa00 irq 14
ata4: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfa08 irq 15
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
input: PC Speaker as /devices/platform/pcspkr/input/input5
ata4.00: ATAPI: TSSTcorpCD/DVDW SH-S182M, SB03, max UDMA/33
ata4.00: configured for UDMA/33
scsi 3:0:0:0: CD-ROM            TSSTcorp CD/DVDW SH-S182M SB03 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 3:0:0:0: Attached scsi CD-ROM sr0
sr 3:0:0:0: Attached scsi generic sg1 type 5
via-rhine 0000:00:12.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
eth0: VIA Rhine II at 0xdfffe000, 00:1d:92:a2:70:86, IRQ 23.
eth0: MII PHY found at address 1, status 0x786d advertising 01e1 Link 41e1.
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
parport_pc 00:0a: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP]
ppdev: user-space parallel port driver
  alloc irq_desc for 17 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
HDA Intel 0000:80:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
HDA Intel 0000:80:01.0: setting latency timer to 64
HDA Intel 0000:80:01.0: PCI: Disallowing DAC for device
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ALSA sound/pci/hda/hda_codec.c:3507: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0)
ALSA sound/pci/hda/hda_codec.c:3511:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3515:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3516:    mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3524:    inputs: mic=0x18, fmic=0x19, line=0x1a, fline=0x0, cd=0x0, aux=0x0
device-mapper: multipath: version 1.0.5 loaded
EXT4 FS on dm-0, internal journal on dm-0:8
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev sda6, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
swap_cgroup: uses 7936 bytes of vmalloc for pointer array space and 4063232 bytes to hold mem_cgroup pointers on swap
swap_cgroup can be disabled by noswapaccount boot option.
Adding 2031608k swap on /dev/mapper/VolGroup00-LogVol01.  Priority:-1 extents:1 across:2031608k 
swap_cgroup: uses 14976 bytes of vmalloc for pointer array space and 7667712 bytes to hold mem_cgroup pointers on swap
swap_cgroup can be disabled by noswapaccount boot option.
Adding 3833848k swap on /dev/mapper/vg_blackamd64home-lv_swap.  Priority:-2 extents:1 across:3833848k 
swap_cgroup: uses 15312 bytes of vmalloc for pointer array space and 7839744 bytes to hold mem_cgroup pointers on swap
swap_cgroup can be disabled by noswapaccount boot option.
Adding 3919820k swap on /dev/sda5.  Priority:-3 extents:1 across:3919820k 
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
powernow-k8: Found 1 AMD Athlon(tm) Processor LE-1600 processors (1 cpu cores) (version 2.20.00)
powernow-k8:    0 : fid 0xe (2200 MHz), vid 0xc
powernow-k8:    1 : fid 0xc (2000 MHz), vid 0xe
powernow-k8:    2 : fid 0xa (1800 MHz), vid 0x10
powernow-k8:    3 : fid 0x2 (1000 MHz), vid 0x12
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ip6_tables: (C) 2000-2006 Netfilter Core Team
Clocksource tsc unstable (delta = -79670644 ns)
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
JBD: barrier-based sync failed on dm-0:8 - disabling barriers
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.13
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bridge firewalling registered
[drm] Initialized drm 1.1.0 20060810
  alloc irq_desc for 16 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized via 2.11.1 20070202 for 0000:01:00.0 on minor 0
agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
pci 0000:01:00.0: putting AGP V3 device into 8x mode
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
CPU0 attaching NULL sched-domain.
CPU0 attaching NULL sched-domain.
[drm:via_verify_command_stream] *ERROR* Accelerated 3D is not supported on this chipset yet.
agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
pci 0000:01:00.0: putting AGP V3 device into 8x mode
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=256, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=384, bytes=384, size=12288, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=384, bytes=384, size=12288, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=384, bytes=384, size=12288, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=512, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
ALSA sound/pci/hda/hda_intel.c:1101: Too big adjustment 32: adj=128, bytes=128, size=4096, periods=32
fuse init (API version 7.11)
SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
martian loaded - 20080620
  alloc irq_desc for 18 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
martian 0000:04:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
IRQ 18/164x: IRQF_DISABLED is not guaranteed on shared IRQs
martian: added device 11c1:44e BaseAddress = 0xbc00, CommAddres = 0xbf00, irq = 18
Script started on Tue 02 Jun 2009 07:20:55 PM CDT
]0;olivares@black-amd64-home:~/Download[?1034h[olivares@black-amd64-home Download]$ tar -zxvf martian-full-20080625.tar.gz 
martian-full-20080625/
martian-full-20080625/martian.h
martian-full-20080625/Makefile
martian-full-20080625/INSTALL
martian-full-20080625/Concept
martian-full-20080625/Makefile~
martian-full-20080625/Cleaning.txt
martian-full-20080625/README
martian-full-20080625/kmodule/
martian-full-20080625/kmodule/Makefile
martian-full-20080625/kmodule/marsio.h
martian-full-20080625/kmodule/kmartian.h
martian-full-20080625/kmodule/martian_ids.c
martian-full-20080625/kmodule/fifo.h
martian-full-20080625/kmodule/mfifo.h
martian-full-20080625/kmodule/martian.c
martian-full-20080625/kmodule/marsio.c
martian-full-20080625/kmodule/mfifo.c
martian-full-20080625/kmodule/mixspinlock.h
martian-full-20080625/scripts/
martian-full-20080625/scripts/martian
martian-full-20080625/scripts/remove_outdated.sh
martian-full-20080625/scripts/martian.in
martian-full-20080625/scripts/wv.conf
martian-full-20080625/scripts/automate.sh
martian-full-20080625/ChangeLog
martian-full-20080625/modem/
martian-full-20080625/modem/Makefile
martian-full-20080625/modem/tweakcore.sh
martian-full-20080625/modem/main.c
martian-full-20080625/modem/debug_script.in
martian-full-20080625/modem/ltmdmobj.o
martian-full-20080625/modem/watch.gdb
martian-full-20080625/modem/sysdep.h
martian-full-20080625/modem/watch3.gdb
martian-full-20080625/modem/dumpers.c
martian-full-20080625/modem/elf386tweakrelocs.c
martian-full-20080625/modem/log.h
martian-full-20080625/modem/core_if.c
martian-full-20080625/modem/coreadd.c
martian-full-20080625/modem/mport.h
martian-full-20080625/modem/coresubst.c
martian-full-20080625/modem/ASWMLICENSE
martian-full-20080625/modem/README
martian-full-20080625/modem/mport.c
martian-full-20080625/modem/isr.c
martian-full-20080625/modem/core.h
martian-full-20080625/modem/watch2.gdb
martian-full-20080625/modem/tweakrelocsdynamic.c
martian-full-20080625/modem/log.c
martian-full-20080625/modem/session.c
martian-full-20080625/modem/watch4.gdb
martian-full-20080625/modem/pty.c
martian-full-20080625/modem/sysdep.c
martian-full-20080625/modem/common.h
martian-full-20080625/modem/main.h
martian-full-20080625/modem/smp.c
martian-full-20080625/modem/watch.h
martian-full-20080625/modem/overriden_core_functions
martian-full-20080625/modem/profile.c
martian-full-20080625/modem/link.c
martian-full-20080625/modem/mixspinlock.h
]0;olivares@black-amd64-home:~/Download[olivares@black-amd64-home Download]$ cd martian-full-20080625
]0;olivares@black-amd64-home:~/Download/martian-full-20080625[olivares@black-amd64-home martian-full-20080625]$ mamakecat INSTALL 
=================
    Building
=================

In root directory run
$ make all


==================
   Installation
==================

In root directory run
$ su 
# make install


==============
   Running
==============

Load module and run martian_modem first.
# modprobe martian_dev
# martian_modem [Options] [Tty]

Now Tty is the name of the device file to represent your modem. You'll supply it to the dialer. /dev/ttySM0 if argument omitted. Left martian_modem running and start the dialer.

See options available
# martian_modem --help
 

==============
     Auto
==============

In scripts/ directory run automate.sh. 
$ cd scripts/
$ ./automate.sh

You can supply the option to be passed to martian_modem on loading like
$ ./automate --mode 0660

See ./automate.sh --help for more options.


==============
    Notes
==============

'martian_modem' program is a crucial part of the driver. It should be running as long as you access the modem.

For technical reasons carrier status support is not available for the modem client. Configure dialer respectively. For wvdial add "Check Carrier = No" line to the configuration file.


x86_64 platform. 
----------------

martian_modem is a 32-bit application. It can be built on x86_64 the way prescribed, but you need 32-bit development environment for that. Second option is to use binary built on i386. 

To compile and install module only do 
$ make -C kmodule/ modules
$ su
# make -C kmodule/ install

]0;olivares@black-amd64-home:~/Download/martian-full-20080625[olivares@black-amd64-home martian-full-20080625]$ mkae \ake -C kmodule/ modules
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian-full-20080625/kmodule"  modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian.o
/home/olivares/Download/martian-full-20080625/kmodule/martian.c: In function ‘martian_isr’:
/home/olivares/Download/martian-full-20080625/kmodule/martian.c:131: warning: value computed is not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/marsio.o
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:358: warning: ‘mars_read_register_rem’ defined but not used
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:371: warning: ‘mars_write_register_rem’ defined but not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/mfifo.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.mod.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
]0;olivares@black-amd64-home:~/Download/martian-full-20080625[olivares@black-amd64-home martian-full-20080625]$ su 
Password: 
]0;olivares@black-amd64-home:/home/olivares/Download/martian-full-20080625[?1034h[root@black-amd64-home martian-full-20080625]#  make -C kmodule/ install
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian-full-20080625/kmodule" modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  INSTALL /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.29.1-102.fc11.x86_64
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
]0;olivares@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# exi
bash: exi: command not found
]0;olivares@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# exit
exit
]0;olivares@black-amd64-home:~/Download/martian-full-20080625[olivares@black-amd64-home martian-full-20080625]$ su -
Password: 
]0;root@black-amd64-home:~[?1034h[root@black-amd64-home ~]# modprobe martian_dev
]0;root@black-amd64-home:~[root@black-amd64-home ~]# marble tian_devmodem
-bash: martian_modem: command not found
]0;root@black-amd64-home:~[root@black-amd64-home ~]# dmesg | grepm 'martian'
martian loaded - 20080620
martian 0000:04:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
martian: added device 11c1:44e BaseAddress = 0xbc00, CommAddres = 0xbf00, irq = 18
]0;root@black-amd64-home:~[root@black-amd64-home ~]# ls /usr/sbin/ma
mailstats     makemap       makewhatis    matchpathcon  
[root@black-amd64-home ~]# ls /usr/sbin/macd /home/olivares/Download/martian-full-20080625
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd kmodule/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# ls
fifo.h      marsio.h        martian_dev.mod.c  martian.o  mixspinlock.h
kmartian.h  marsio.o        martian_dev.mod.o  mfifo.c    Module.markers
Makefile    martian.c       martian_dev.o      mfifo.h    modules.order
marsio.c    martian_dev.ko  martian_ids.c      mfifo.o    Module.symvers
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# ls -l
total 1348
-rw-r--r--. 1 olivares olivares   1920 2006-07-23 02:07 fifo.h
-rw-r--r--. 1 olivares olivares   2955 2008-06-17 00:43 kmartian.h
-rw-r--r--. 1 olivares olivares    713 2008-06-25 20:53 Makefile
-rw-r--r--. 1 olivares olivares  18986 2008-06-16 04:59 marsio.c
-rw-r--r--. 1 olivares olivares   1206 2008-06-13 02:35 marsio.h
-rw-rw-r--. 1 olivares olivares 166792 2009-06-02 19:21 marsio.o
-rw-r--r--. 1 olivares olivares  25290 2008-06-25 20:46 martian.c
-rw-rw-r--. 1 olivares olivares 440293 2009-06-02 19:21 martian_dev.ko
-rw-rw-r--. 1 olivares olivares   4047 2009-06-02 19:21 martian_dev.mod.c
-rw-rw-r--. 1 olivares olivares  55368 2009-06-02 19:21 martian_dev.mod.o
-rw-rw-r--. 1 olivares olivares 386475 2009-06-02 19:21 martian_dev.o
-rw-r--r--. 1 olivares olivares   3545 2006-10-03 00:09 martian_ids.c
-rw-rw-r--. 1 olivares olivares 211736 2009-06-02 19:21 martian.o
-rw-r--r--. 1 olivares olivares   2627 2008-06-14 01:59 mfifo.c
-rw-r--r--. 1 olivares olivares   2562 2008-06-14 01:59 mfifo.h
-rw-rw-r--. 1 olivares olivares  13983 2009-06-02 19:21 mfifo.o
-rw-r--r--. 1 olivares olivares   1298 2006-10-20 23:33 mixspinlock.h
-rw-rw-r--. 1 olivares olivares   2171 2009-06-02 19:21 Module.markers
-rw-rw-r--. 1 olivares olivares     76 2009-06-02 19:21 modules.order
-rw-rw-r--. 1 olivares olivares      0 2009-06-02 19:21 Module.symvers
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd dr
-bash: cd: dr: No such file or directory
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd modem/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# ls
ASWMLICENSE          log.h                     session.c
common.h             ltmdmobj.o                smp.c
coreadd.c            main.c                    sysdep.c
core.h               main.h                    sysdep.h
core_if.c            Makefile                  tweakcore.sh
coresubst.c          mixspinlock.h             tweakrelocsdynamic.c
debug_script.in      mport.c                   watch2.gdb
dumpers.c            mport.h                   watch3.gdb
elf386tweakrelocs.c  overriden_core_functions  watch4.gdb
isr.c                profile.c                 watch.gdb
link.c               pty.c                     watch.h
log.c                README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd scripts/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# sl
-bash: sl: command not found
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# ls
automate.sh  martian  martian.in  remove_outdated.sh  wv.conf
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# ./ls -l
total 20
-rwxr-xr-x. 1 olivares olivares 2947 2008-06-13 04:15 automate.sh
-rwxr-xr-x. 1 olivares olivares 1525 2006-11-09 18:00 martian
-rwxr-xr-x. 1 olivares olivares 1544 2008-06-13 04:15 martian.in
-rwxr-xr-x. 1 olivares olivares  284 2006-11-09 18:00 remove_outdated.sh
-rw-r--r--. 1 olivares olivares  274 2006-11-30 20:13 wv.conf
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# cat martian
#!/bin/bash
#
# Init file for martian_modem
#
# chkconfig: 2345 45 60
# description: martian_modem
#
# processname: martian_modem
#
### BEGIN INIT INFO
# Provides: martian_modem
# Default-Start: 2 3 4 5
# Short-Description: martian_modem
# Description: martian_modem
# Author: Stefan Puch
# Adjustments for 2006/11 release A. Chentsov
### END INIT INFO

#VPNCLIENT="/opt/cisco-vpnclient/bin/vpnclient"
NAME="martian_modem"
MARTIANMOD="martian_dev"
USER_DRIVER="/usr/sbin/martian_modem"

# edit to set other name
DEVICE="/dev/ttySM0"

if [ `/sbin/lsmod | grep -c ${MARTIANMOD}` -lt "1" ]; then
	echo "kernel module is not loaded!"
	exit 0
fi



# See how we were called.
case "$1" in
  start)
	echo -n "Starting ${NAME}: "
	if [ `ps -A | grep -c ${NAME}` -gt "0" ]; then
		echo "${NAME} is already running. Use restart instead."
		exit 1
	fi

	if [ ${DEVICE} != "/dev/ttySM0" ]; then
		ARGDEV=${DEVICE}
	else
		ARGDEV=
	fi
	/usr/sbin/martian_modem --daemon ${ARGDEV}
	echo "Done"
	;;
  stop)
	echo -n "Shutting down ${NAME}: "
	if [ `ps -A | grep -c "martian_modem"` -lt "1" ]; then
		echo "${NAME} is not running."
		exit 1
	fi
	PID=`/sbin/pidof ${NAME}`

	# cease now
	/bin/kill ${PID}

	if [ -L ${DEVICE} ]; then
		rm -f ${DEVICE}
	fi
	echo "Done"
	;;
  status)
	PID=`/sbin/pidof ${NAME}`
	if [ -n "${PID}" ] ; then
		echo ${NAME} "(PID ${PID}) is running..."
	else 
		echo ${NAME} "is stopped"
	fi
	;;
  restart|reload)
	$0 stop
	$0 start
	;;
  *)
	echo "Usage: $0 {start|stop|restart|reload|status}"
	exit 1
esac

exit 0
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# ;s
-bash: syntax error near unexpected token `;'
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# ls
automate.sh  martian  martian.in  remove_outdated.sh  wv.conf
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# cd //..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# sls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cat INSTALL 
=================
    Building
=================

In root directory run
$ make all


==================
   Installation
==================

In root directory run
$ su 
# make install


==============
   Running
==============

Load module and run martian_modem first.
# modprobe martian_dev
# martian_modem [Options] [Tty]

Now Tty is the name of the device file to represent your modem. You'll supply it to the dialer. /dev/ttySM0 if argument omitted. Left martian_modem running and start the dialer.

See options available
# martian_modem --help
 

==============
     Auto
==============

In scripts/ directory run automate.sh. 
$ cd scripts/
$ ./automate.sh

You can supply the option to be passed to martian_modem on loading like
$ ./automate --mode 0660

See ./automate.sh --help for more options.


==============
    Notes
==============

'martian_modem' program is a crucial part of the driver. It should be running as long as you access the modem.

For technical reasons carrier status support is not available for the modem client. Configure dialer respectively. For wvdial add "Check Carrier = No" line to the configuration file.


x86_64 platform. 
----------------

martian_modem is a 32-bit application. It can be built on x86_64 the way prescribed, but you need 32-bit development environment for that. Second option is to use binary built on i386. 

To compile and install module only do 
$ make -C kmodule/ modules
$ su
# make -C kmodule/ install

]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# make -C mkmodule install
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian-full-20080625/kmodule" modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  INSTALL /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.29.1-102.fc11.x86_64
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# depmode -a
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# modprobe -r martian_dev
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# modprobe -r martian_devmartian_devmartian_devmartian_devmartian_dev martian_dev
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# marble ts/\/suusr/sbin/martian_moedem
-bash: /usr/sbin/martian_modem: No such file or directory
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# maritian_modem
-bash: martian_modem: command not found
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd kmodule/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# ls
fifo.h      marsio.h        martian_dev.mod.c  martian.o  mixspinlock.h
kmartian.h  marsio.o        martian_dev.mod.o  mfifo.c    Module.markers
Makefile    martian.c       martian_dev.o      mfifo.h    modules.order
marsio.c    martian_dev.ko  martian_ids.c      mfifo.o    Module.symvers
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd kmodule/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# ls
fifo.h      marsio.h        martian_dev.mod.c  martian.o  mixspinlock.h
kmartian.h  marsio.o        martian_dev.mod.o  mfifo.c    Module.markers
Makefile    martian.c       martian_dev.o      mfifo.h    modules.order
marsio.c    martian_dev.ko  martian_ids.c      mfifo.o    Module.symvers
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd modem/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# ls
ASWMLICENSE          log.h                     session.c
common.h             ltmdmobj.o                smp.c
coreadd.c            main.c                    sysdep.c
core.h               main.h                    sysdep.h
core_if.c            Makefile                  tweakcore.sh
coresubst.c          mixspinlock.h             tweakrelocsdynamic.c
debug_script.in      mport.c                   watch2.gdb
dumpers.c            mport.h                   watch3.gdb
elf386tweakrelocs.c  overriden_core_functions  watch4.gdb
isr.c                profile.c                 watch.gdb
link.c               pty.c                     watch.h
log.c                README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# cd //,..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd scripts/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# ls
automate.sh  martian  martian.in  remove_outdated.sh  wv.conf
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# ./automate.sh 
Module:
	Added to /etc/rc.local
Daemon:
	]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# 
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# cat /etc/rc.local 
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local


# martian configuration 
/sbin/modprobe martian_dev
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# sed -i 'd10 d' /etc/rc.local 
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# sed -i '10d' /etc/rc.local 
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# sed -i '10d' /etc/rc.local cat
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local


]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# vgedit /etc/rc.d//init.d/martian 
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/scripts[root@black-amd64-home scripts]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# service martian status
martian_modem is stopped
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# service martian statusrt
Starting martian_modem: /etc/init.d/martian: line 44: /usr/sbin/martian_modem: No such file or directory
Done
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd ..
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# ls
001-martian.txt  martian-full-20080625  martian-full-20080625.tar.gz
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# vp ccp /media/d72f4731d-a8f3-4c89-a4da-98bc778e88f5/
/home/olivares/Download/martian.tar.gz .
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# ls
001-martian.txt        martian-full-20080625.tar.gz
martian-full-20080625  martian.tar.gz
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# tar -zxvf martian.tar.gz 
martian/
martian/Makefile
martian/README
martian/martian.h
martian/Concept
martian/INSTALL
martian/ChangeLog
martian/scripts/
martian/kmodule/
martian/modem/
martian/scripts/automate.sh
martian/scripts/martian
martian/scripts/martian.in
martian/scripts/remove_outdated.sh
martian/scripts/wv.conf
martian/kmodule/Makefile
martian/kmodule/Module.symvers
martian/kmodule/.martian_dev.ko.cmd
martian/kmodule/.marsio.o.cmd
martian/kmodule/.mfifo.o.cmd
martian/kmodule/.martian_dev.mod.o.cmd
martian/kmodule/martian.c.rej
martian/kmodule/martian.c
martian/kmodule/martian.o
martian/kmodule/mfifo.c
martian/kmodule/mfifo.h
martian/kmodule/mfifo.o
martian/kmodule/kmartian.h
martian/kmodule/martian.c.orig
martian/kmodule/marsio.c
martian/kmodule/marsio.h
martian/kmodule/marsio.o
martian/kmodule/fifo.h
martian/kmodule/.martian_dev.o.cmd
martian/kmodule/martian_dev.ko
martian/kmodule/modules.order
martian/kmodule/martian_dev.mod.c
martian/kmodule/martian_dev.mod.o
martian/kmodule/martian_dev.o
martian/kmodule/martian_ids.c
martian/kmodule/.martian.o.cmd
martian/kmodule/mixspinlock.h
martian/kmodule/.tmp_versions/
martian/kmodule/.tmp_versions/martian_dev.mod
martian/modem/coresubst.c
martian/modem/coresubst.o
martian/modem/Makefile
martian/modem/isr.c
martian/modem/isr.o
martian/modem/log.c
martian/modem/log.h
martian/modem/log.o
martian/modem/pty.c
martian/modem/pty.o
martian/modem/smp.c
martian/modem/smp.o
martian/modem/watch.gdb
martian/modem/README
martian/modem/marscore.o
martian/modem/session.c
martian/modem/session.o
martian/modem/elf386tweakrelocs
martian/modem/debug_script.in
martian/modem/dumpers.c
martian/modem/dumpers.o
martian/modem/common.h
martian/modem/mport.c
martian/modem/mport.h
martian/modem/mport.o
martian/modem/tweakrelocsdynamic.c
martian/modem/tweakrelocsdynamic.o
martian/modem/link.c
martian/modem/link.o
martian/modem/main.c
martian/modem/main.h
martian/modem/main.o
martian/modem/relocs.sym
martian/modem/martian_modem.debug
martian/modem/sysdep.c
martian/modem/sysdep.h
martian/modem/sysdep.o
martian/modem/watch2.gdb
martian/modem/watch3.gdb
martian/modem/watch4.gdb
martian/modem/profile.c
martian/modem/ltmdmobj.o
martian/modem/watch.h
martian/modem/core_if.c
martian/modem/core_if.o
martian/modem/coreadd.c
martian/modem/coreadd.o
martian/modem/ASWMLICENSE
martian/modem/martian_modem
martian/modem/elf386tweakrelocs.c
martian/modem/tweakcore.sh
martian/modem/martian_modem.stripped
martian/modem/mixspinlock.h
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# cd martian
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# cd martiantar -zxvf martian.tar.gz lscp /media/72f4731d-a8f3-4c89-a4da-98bc778e88f5/h
home/olivares/Download/martian.tar.gz .ls

cd ..lscp /media/72f4731d-a8f3-4c89-a4da-98bc778e88f5/h
home/olivares/Download/martian.tar.gz .ls

tar -zxvf martian.tar.gz cd martianmcat INSTALL 
=================
    Building
=================

In root directory run
$ make all


==================
   Installation
==================

In root directory run
$ su 
# make install


==============
   Running
==============

Load module and run martian_modem first.
# modprobe martian_dev
# martian_modem [Options] [Tty]

Now Tty is the name of the device file to represent your modem. You'll supply it to the dialer. /dev/ttySM0 if argument omitted. Left martian_modem running and start the dialer.

See options available
# martian_modem --help
 

==============
     Auto
==============

In scripts/ directory run automate.sh. 
$ cd scripts/
$ ./automate.sh

You can supply the option to be passed to martian_modem on loading like
$ ./automate --mode 0660

See ./automate.sh --help for more options.


==============
    Notes
==============

'martian_modem' program is a crucial part of the driver. It should be running as long as you access the modem.

For technical reasons carrier status support is not available for the modem client. Configure dialer respectively. For wvdial add "Check Carrier = No" line to the configuration file.


x86_64 platform. 
----------------

martian_modem is a 32-bit application. It can be built on x86_64 the way prescribed, but you need 32-bit development environment for that. Second option is to use binary built on i386. 

To compile and install module only do 
$ make -C kmodule/ modules
$ su
# make -C kmodule/ install

]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# make -C kmodule/ modules
make: Entering directory `/home/olivares/Download/martian/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian/kmodule"  modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  CC [M]  /home/olivares/Download/martian/kmodule/martian.o
/home/olivares/Download/martian/kmodule/martian.c:54:29: error: linux/ioctl32.h: No such file or directory
/home/olivares/Download/martian/kmodule/martian.c: In function ‘martian_isr’:
/home/olivares/Download/martian/kmodule/martian.c:160: warning: value computed is not used
/home/olivares/Download/martian/kmodule/martian.c: In function ‘martian_add’:
/home/olivares/Download/martian/kmodule/martian.c:662: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
include/linux/interrupt.h:76: note: expected ‘irq_handler_t’ but argument is of type ‘irqreturn_t (*)(int,  void *, struct pt_regs *)’
make[2]: *** [/home/olivares/Download/martian/kmodule/martian.o] Error 1
make[1]: *** [_module_/home/olivares/Download/martian/kmodule] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
make: *** [modules] Error 2
make: Leaving directory `/home/olivares/Download/martian/kmodule'
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# ls
ChangeLog  INSTALL  Makefile   modem   scripts
Concept    kmodule  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# cd modem/
]0;root@black-amd64-home:/home/olivares/Download/martian/modem[root@black-amd64-home modem]# ls
ASWMLICENSE          log.h                   README
common.h             log.o                   relocs.sym
coreadd.c            ltmdmobj.o              session.c
coreadd.o            main.c                  session.o
core_if.c            main.h                  smp.c
core_if.o            main.o                  smp.o
coresubst.c          Makefile                sysdep.c
coresubst.o          marscore.o              sysdep.h
debug_script.in      martian_modem           sysdep.o
dumpers.c            martian_modem.debug     tweakcore.sh
dumpers.o            martian_modem.stripped  tweakrelocsdynamic.c
elf386tweakrelocs    mixspinlock.h           tweakrelocsdynamic.o
elf386tweakrelocs.c  mport.c                 watch2.gdb
isr.c                mport.h                 watch3.gdb
isr.o                mport.o                 watch4.gdb
link.c               profile.c               watch.gdb
link.o               pty.c                   watch.h
log.c                pty.o
]0;root@black-amd64-home:/home/olivares/Download/martian/modem[root@black-amd64-home modem]# ls -l
total 2592
-rw-r--r--. 1 olivares olivares   5689 2006-06-21 20:07 ASWMLICENSE
-rw-r--r--. 1 olivares olivares   1090 2006-11-29 09:44 common.h
-rw-r--r--. 1 olivares olivares    730 2006-07-17 18:30 coreadd.c
-rw-r--r--. 1 root     root       1084 2007-09-15 14:22 coreadd.o
-rw-r--r--. 1 olivares olivares   3931 2006-11-30 20:13 core_if.c
-rw-r--r--. 1 root     root       3636 2007-09-15 14:22 core_if.o
-rw-r--r--. 1 olivares olivares   8242 2006-11-30 20:13 coresubst.c
-rw-r--r--. 1 root     root       6160 2007-09-15 14:22 coresubst.o
-rw-r--r--. 1 olivares olivares    257 2006-11-28 15:59 debug_script.in
-rw-r--r--. 1 olivares olivares   3173 2006-11-27 13:40 dumpers.c
-rw-r--r--. 1 root     root       4268 2007-09-15 14:22 dumpers.o
-rwxr-xr-x. 1 root     root      10016 2007-09-15 14:22 elf386tweakrelocs
-rw-r--r--. 1 olivares olivares   6558 2006-11-30 20:13 elf386tweakrelocs.c
-rw-r--r--. 1 olivares olivares   4697 2006-12-02 08:12 isr.c
-rw-r--r--. 1 root     root       4840 2007-09-15 14:22 isr.o
-rw-r--r--. 1 olivares olivares   3633 2006-11-28 15:34 link.c
-rw-r--r--. 1 root     root       5848 2007-09-15 14:22 link.o
-rw-r--r--. 1 olivares olivares   8442 2006-11-30 20:13 log.c
-rw-r--r--. 1 olivares olivares   2302 2006-11-28 15:59 log.h
-rw-r--r--. 1 root     root       6848 2007-09-15 14:22 log.o
-rw-r--r--. 1 olivares olivares 542179 2006-06-21 20:14 ltmdmobj.o
-rw-r--r--. 1 olivares olivares  27573 2006-12-02 08:12 main.c
-rw-r--r--. 1 olivares olivares    476 2006-11-28 15:59 main.h
-rw-r--r--. 1 root     root      29160 2007-09-15 14:22 main.o
-rw-r--r--. 1 olivares olivares   4363 2006-12-02 17:39 Makefile
-rw-r--r--. 1 root     root     542592 2007-09-15 14:22 marscore.o
-rwxr-xr-x. 1 root     root     648205 2007-09-15 14:22 martian_modem
-rwxr-xr-x. 1 root     root      77809 2007-09-15 14:24 martian_modem.debug
-rwxr-xr-x. 1 root     root     440776 2007-09-15 14:24 martian_modem.stripped
-rw-r--r--. 1 olivares olivares    623 2006-10-19 10:03 mixspinlock.h
-rw-r--r--. 1 olivares olivares  11978 2006-11-30 20:13 mport.c
-rw-r--r--. 1 olivares olivares   1382 2006-11-28 15:59 mport.h
-rw-r--r--. 1 root     root      10340 2007-09-15 14:22 mport.o
-rw-r--r--. 1 olivares olivares    213 2006-06-21 20:07 profile.c
-rw-r--r--. 1 olivares olivares   8769 2006-12-02 08:12 pty.c
-rw-r--r--. 1 root     root       6124 2007-09-15 14:22 pty.o
-rw-r--r--. 1 olivares olivares    940 2006-11-06 17:49 README
-rw-r--r--. 1 root     root        294 2007-09-15 14:24 relocs.sym
-rw-r--r--. 1 olivares olivares  15456 2006-11-30 20:13 session.c
-rw-r--r--. 1 root     root      16024 2007-09-15 14:22 session.o
-rw-r--r--. 1 olivares olivares   7769 2006-10-18 13:54 smp.c
-rw-r--r--. 1 root     root       8508 2007-09-15 14:22 smp.o
-rw-r--r--. 1 olivares olivares   1827 2006-12-02 17:36 sysdep.c
-rw-r--r--. 1 olivares olivares    573 2006-11-28 15:59 sysdep.h
-rw-r--r--. 1 root     root       2272 2007-09-15 14:22 sysdep.o
-rwxr-xr-x. 1 olivares olivares   1029 2006-11-28 15:59 tweakcore.sh
-rw-r--r--. 1 olivares olivares   8900 2006-11-30 20:13 tweakrelocsdynamic.c
-rw-r--r--. 1 root     root       4868 2007-09-15 14:22 tweakrelocsdynamic.o
-rw-r--r--. 1 olivares olivares    784 2006-11-28 15:59 watch2.gdb
-rw-r--r--. 1 olivares olivares    392 2006-11-28 15:59 watch3.gdb
-rw-r--r--. 1 olivares olivares    386 2006-11-28 15:59 watch4.gdb
-rw-r--r--. 1 olivares olivares    367 2006-11-28 15:59 watch.gdb
-rw-r--r--. 1 olivares olivares   5536 2006-11-28 15:59 watch.h
]0;root@black-amd64-home:/home/olivares/Download/martian/modem[root@black-amd64-home modem]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# sls
ChangeLog  INSTALL  Makefile   modem   scripts
Concept    kmodule  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# cd ..
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# ls
001-martian.txt  martian-full-20080625         martian.tar.gz
martian          martian-full-20080625.tar.gz
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# cd martian
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# cd ..
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# cd ..martian-full-20080625
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd modem/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# ls
ASWMLICENSE          log.h                     session.c
common.h             ltmdmobj.o                smp.c
coreadd.c            main.c                    sysdep.c
core.h               main.h                    sysdep.h
core_if.c            Makefile                  tweakcore.sh
coresubst.c          mixspinlock.h             tweakrelocsdynamic.c
debug_script.in      mport.c                   watch2.gdb
dumpers.c            mport.h                   watch3.gdb
elf386tweakrelocs.c  overriden_core_functions  watch4.gdb
isr.c                profile.c                 watch.gdb
link.c               pty.c                     watch.h
log.c                README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# cp ../.../mart/martian/modem/
ASWMLICENSE             log.h                   README
common.h                log.o                   relocs.sym
coreadd.c               ltmdmobj.o              session.c
coreadd.o               main.c                  session.o
core_if.c               main.h                  smp.c
core_if.o               main.o                  smp.o
coresubst.c             Makefile                sysdep.c
coresubst.o             marscore.o              sysdep.h
debug_script.in         martian_modem           sysdep.o
dumpers.c               martian_modem.debug     tweakcore.sh
dumpers.o               martian_modem.stripped  tweakrelocsdynamic.c
elf386tweakrelocs       mixspinlock.h           tweakrelocsdynamic.o
elf386tweakrelocs.c     mport.c                 watch2.gdb
isr.c                   mport.h                 watch3.gdb
isr.o                   mport.o                 watch4.gdb
link.c                  profile.c               watch.gdb
link.o                  pty.c                   watch.h
log.c                   pty.o                   
[root@black-amd64-home modem]# cp ../../martian/modem/martian_modem* .
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# make clean
make -C kmodule/ clean
make[1]: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian-full-20080625/kmodule" clean
make[2]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  CLEAN   /home/olivares/Download/martian-full-20080625/kmodule/.tmp_versions
  CLEAN   /home/olivares/Download/martian-full-20080625/kmodule/Module.symvers
make[2]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
make[1]: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C modem/ clean
make[1]: Entering directory `/home/olivares/Download/martian-full-20080625/modem'
    RM	OBJS
    RM	BINS
    RM	TOOLS
make[1]: Leaving directory `/home/olivares/Download/martian-full-20080625/modem'
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# mmake cleancd ..p ../../martian/modem/martian_mod
dem* .ls

cd modem/lscd martian-full-20080625..martianlscd ..lscd ..ls -lcd modem/lsmake -C kmodule/ modulescat INSTALL make -C kmodule/ modules
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian-full-20080625/kmodule"  modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian.o
/home/olivares/Download/martian-full-20080625/kmodule/martian.c: In function ‘martian_isr’:
/home/olivares/Download/martian-full-20080625/kmodule/martian.c:131: warning: value computed is not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/marsio.o
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:358: warning: ‘mars_read_register_rem’ defined but not used
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:371: warning: ‘mars_write_register_rem’ defined but not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/mfifo.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.mod.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# make -C kmodule/ modulesina\sta;;ll
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian-full-20080625/kmodule" modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  INSTALL /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.29.1-102.fc11.x86_64
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ,pdmodprobe -r martian_dev
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# modproservice martian status
martian_modem is stopped
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# servicema mae martian start
Starting martian_modem: /etc/init.d/martian: line 44: /usr/sbin/martian_modem: No such file or directory
Done
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd kmodule/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# ls
fifo.h      marsio.h        martian_dev.mod.c  martian.o  mixspinlock.h
kmartian.h  marsio.o        martian_dev.mod.o  mfifo.c    Module.markers
Makefile    martian.c       martian_dev.o      mfifo.h    modules.order
marsio.c    martian_dev.ko  martian_ids.c      mfifo.o    Module.symvers
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/kmodule[root@black-amd64-home kmodule]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd modem/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# ls
ASWMLICENSE          log.h                     session.c
common.h             ltmdmobj.o                smp.c
coreadd.c            main.c                    sysdep.c
core.h               main.h                    sysdep.h
core_if.c            Makefile                  tweakcore.sh
coresubst.c          mixspinlock.h             tweakrelocsdynamic.c
debug_script.in      mport.c                   watch2.gdb
dumpers.c            mport.h                   watch3.gdb
elf386tweakrelocs.c  overriden_core_functions  watch4.gdb
isr.c                profile.c                 watch.gdb
link.c               pty.c                     watch.h
log.c                README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# cd ../../modmartian/modem/
]0;root@black-amd64-home:/home/olivares/Download/martian/modem[root@black-amd64-home modem]# ls
ASWMLICENSE          log.h                   README
common.h             log.o                   relocs.sym
coreadd.c            ltmdmobj.o              session.c
coreadd.o            main.c                  session.o
core_if.c            main.h                  smp.c
core_if.o            main.o                  smp.o
coresubst.c          Makefile                sysdep.c
coresubst.o          marscore.o              sysdep.h
debug_script.in      martian_modem           sysdep.o
dumpers.c            martian_modem.debug     tweakcore.sh
dumpers.o            martian_modem.stripped  tweakrelocsdynamic.c
elf386tweakrelocs    mixspinlock.h           tweakrelocsdynamic.o
elf386tweakrelocs.c  mport.c                 watch2.gdb
isr.c                mport.h                 watch3.gdb
isr.o                mport.o                 watch4.gdb
link.c               profile.c               watch.gdb
link.o               pty.c                   watch.h
log.c                pty.o
]0;root@black-amd64-home:/home/olivares/Download/martian/modem[root@black-amd64-home modem]# pwd
/home/olivares/Download/martian/modem
]0;root@black-amd64-home:/home/olivares/Download/martian/modem[root@black-amd64-home modem]# cp martian_modem* ~/Dowmn/home/olivares/Download/martian 
-full-20080625/modem/
ASWMLICENSE               log.h                     session.c
common.h                  ltmdmobj.o                smp.c
coreadd.c                 main.c                    sysdep.c
core.h                    main.h                    sysdep.h
core_if.c                 Makefile                  tweakcore.sh
coresubst.c               mixspinlock.h             tweakrelocsdynamic.c
debug_script.in           mport.c                   watch2.gdb
dumpers.c                 mport.h                   watch3.gdb
elf386tweakrelocs.c       overriden_core_functions  watch4.gdb
isr.c                     profile.c                 watch.gdb
link.c                    pty.c                     watch.h
log.c                     README                    
[root@black-amd64-home modem]# cp martian_modem* /home/olivares/Download/martian-
-full-20080625/modem/
]0;root@black-amd64-home:/home/olivares/Download/martian/modem[root@black-amd64-home modem]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# cd ..
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# rmv 0-rf mamartian-full-20080625/
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# tar -zxvf martian-full-20080625.tar.gz 
martian-full-20080625/
martian-full-20080625/martian.h
martian-full-20080625/Makefile
martian-full-20080625/INSTALL
martian-full-20080625/Concept
martian-full-20080625/Makefile~
martian-full-20080625/Cleaning.txt
martian-full-20080625/README
martian-full-20080625/kmodule/
martian-full-20080625/kmodule/Makefile
martian-full-20080625/kmodule/marsio.h
martian-full-20080625/kmodule/kmartian.h
martian-full-20080625/kmodule/martian_ids.c
martian-full-20080625/kmodule/fifo.h
martian-full-20080625/kmodule/mfifo.h
martian-full-20080625/kmodule/martian.c
martian-full-20080625/kmodule/marsio.c
martian-full-20080625/kmodule/mfifo.c
martian-full-20080625/kmodule/mixspinlock.h
martian-full-20080625/scripts/
martian-full-20080625/scripts/martian
martian-full-20080625/scripts/remove_outdated.sh
martian-full-20080625/scripts/martian.in
martian-full-20080625/scripts/wv.conf
martian-full-20080625/scripts/automate.sh
martian-full-20080625/ChangeLog
martian-full-20080625/modem/
martian-full-20080625/modem/Makefile
martian-full-20080625/modem/tweakcore.sh
martian-full-20080625/modem/main.c
martian-full-20080625/modem/debug_script.in
martian-full-20080625/modem/ltmdmobj.o
martian-full-20080625/modem/watch.gdb
martian-full-20080625/modem/sysdep.h
martian-full-20080625/modem/watch3.gdb
martian-full-20080625/modem/dumpers.c
martian-full-20080625/modem/elf386tweakrelocs.c
martian-full-20080625/modem/log.h
martian-full-20080625/modem/core_if.c
martian-full-20080625/modem/coreadd.c
martian-full-20080625/modem/mport.h
martian-full-20080625/modem/coresubst.c
martian-full-20080625/modem/ASWMLICENSE
martian-full-20080625/modem/README
martian-full-20080625/modem/mport.c
martian-full-20080625/modem/isr.c
martian-full-20080625/modem/core.h
martian-full-20080625/modem/watch2.gdb
martian-full-20080625/modem/tweakrelocsdynamic.c
martian-full-20080625/modem/log.c
martian-full-20080625/modem/session.c
martian-full-20080625/modem/watch4.gdb
martian-full-20080625/modem/pty.c
martian-full-20080625/modem/sysdep.c
martian-full-20080625/modem/common.h
martian-full-20080625/modem/main.h
martian-full-20080625/modem/smp.c
martian-full-20080625/modem/watch.h
martian-full-20080625/modem/overriden_core_functions
martian-full-20080625/modem/profile.c
martian-full-20080625/modem/link.c
martian-full-20080625/modem/mixspinlock.h
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# tar -zxvf martian-full-20080625.tar.gz 
rm -rf martian-full-20080625/cd ..p martian_modem* /home/olivares/Download/marti
ian-full-20080625/modem/
/martian_modem* /home/olivares/Download/martian-full-20080625/modem/hmartian_modem* /home/olivares/Download/martian-full-20080625/modem/ome/martian_modem* /home/olivares/Download/martian-full-20080625/modem/omartian_modem* /home/olivares/Download/martian-full-20080625/modem/livares/martian_modem* /home/olivares/Download/martian-full-20080625/modem/martian_modem* /home/olivares/Download/martian-full-20080625/modem/amartian_modem* /home/olivares/Download/martian-full-20080625/modem/martian_modem* /home/olivares/Download/martian-full-20080625/modem/artian_modem* /home/olivares/Download/martian-full-20080625/modem/Dmartian_modem* /home/olivares/Download/martian-full-20080625/modem/omartian_modem* /home/olivares/Download/martian-full-20080625/modem/wmartian_modem* /home/olivares/Download/martian-full-20080625/modem/nload/martian_modem* /home/olivares/Download/martian-full-20080625/modem//martian_modem* /home/olivares/Download/martian-full-20080625/modem/martian_modem* /home/olivares/Download/martian-full-20080625/modem/martian_modem* /home/olivares/Download/martian-full-20080625/modem/amartian_modem* /home/olivares/Download/martian-full-20080625/modem/rmartian_modem* /home/olivares/Download/martian-full-20080625/modem/tianmartian_modem* /home/olivares/Download/martian-full-20080625/modem//martian_mode[1@mmartian_mod[1@eomartian_mo[1@ddem/martia[4@n_mo


ASWMLICENSE             log.h                   README
common.h                log.o                   relocs.sym
coreadd.c               ltmdmobj.o              session.c
coreadd.o               main.c                  session.o
core_if.c               main.h                  smp.c
core_if.o               main.o                  smp.o
coresubst.c             Makefile                sysdep.c
coresubst.o             marscore.o              sysdep.h
debug_script.in         martian_modem           sysdep.o
dumpers.c               martian_modem.debug     tweakcore.sh
dumpers.o               martian_modem.stripped  tweakrelocsdynamic.c
elf386tweakrelocs       mixspinlock.h           tweakrelocsdynamic.o
elf386tweakrelocs.c     mport.c                 watch2.gdb
isr.c                   mport.h                 watch3.gdb
isr.o                   mport.o                 watch4.gdb
link.c                  profile.c               watch.gdb
link.o                  pty.c                   watch.h
log.c                   pty.o                   
[root@black-amd64-home Download]# cp /home/olivares/Download/martian/modem/martia
an_modem* /home/olivares/Download/martian-full-20080625/modem/


]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# cd martian-full-20080625
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# modprobe -r martian.h n.h n_dev
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# lsmod 
Module                  Size  Used by
fuse                   57984  2 
via                    39696  2 
drm                   207916  3 via
sco                    11828  2 
bridge                 51216  0 
stp                     2644  1 bridge
llc                     6128  2 bridge,stp
bnep                   14336  2 
l2cap                  22560  3 bnep
bluetooth              53300  5 sco,bnep,l2cap
sunrpc                186056  1 
ip6t_REJECT             4064  2 
nf_conntrack_ipv6      14632  2 
ip6table_filter         3936  1 
ip6_tables             18768  1 ip6table_filter
ipv6                  291600  24 ip6t_REJECT,nf_conntrack_ipv6
cpufreq_ondemand        7696  1 
powernow_k8            16836  0 
freq_table              4816  2 cpufreq_ondemand,powernow_k8
dm_multipath           16200  0 
uinput                  8752  0 
ppdev                   7720  0 
snd_hda_codec_realtek   265044  1 
snd_hda_intel          29176  2 
snd_hda_codec          65376  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               8600  1 snd_hda_codec
snd_pcm                79992  2 snd_hda_intel,snd_hda_codec
snd_timer              22496  1 snd_pcm
snd                    65096  10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               7024  1 snd
snd_page_alloc          9216  2 snd_hda_intel,snd_pcm
k8temp                  5152  0 
via_rhine              23608  0 
pcspkr                  2848  0 
i2c_viapro              8472  0 
hwmon                   2904  1 k8temp
mii                     4944  1 via_rhine
i2c_core               22288  2 drm,i2c_viapro
pata_via               10420  0 
parport_pc             27064  0 
parport                33456  2 ppdev,parport_pc
shpchp                 33564  0 
ata_generic             5812  0 
pata_acpi               5040  0 
sata_via               11476  4 
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cat INSTALL 
=================
    Building
=================

In root directory run
$ make all


==================
   Installation
==================

In root directory run
$ su 
# make install


==============
   Running
==============

Load module and run martian_modem first.
# modprobe martian_dev
# martian_modem [Options] [Tty]

Now Tty is the name of the device file to represent your modem. You'll supply it to the dialer. /dev/ttySM0 if argument omitted. Left martian_modem running and start the dialer.

See options available
# martian_modem --help
 

==============
     Auto
==============

In scripts/ directory run automate.sh. 
$ cd scripts/
$ ./automate.sh

You can supply the option to be passed to martian_modem on loading like
$ ./automate --mode 0660

See ./automate.sh --help for more options.


==============
    Notes
==============

'martian_modem' program is a crucial part of the driver. It should be running as long as you access the modem.

For technical reasons carrier status support is not available for the modem client. Configure dialer respectively. For wvdial add "Check Carrier = No" line to the configuration file.


x86_64 platform. 
----------------

martian_modem is a 32-bit application. It can be built on x86_64 the way prescribed, but you need 32-bit development environment for that. Second option is to use binary built on i386. 

To compile and install module only do 
$ make -C kmodule/ modules
$ su
# make -C kmodule/ install

]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# make -C kmodule/ modules
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian-full-20080625/kmodule"  modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian.o
/home/olivares/Download/martian-full-20080625/kmodule/martian.c: In function ‘martian_isr’:
/home/olivares/Download/martian-full-20080625/kmodule/martian.c:131: warning: value computed is not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/marsio.o
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:358: warning: ‘mars_read_register_rem’ defined but not used
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:371: warning: ‘mars_write_register_rem’ defined but not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/mfifo.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.mod.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# make -C kmodule/ modulesinstall
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian-full-20080625/kmodule" modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  INSTALL /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.29.1-102.fc11.x86_64
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# service martian status
martian_modem is stopped
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# service martian statusrt
Starting martian_modem: /etc/init.d/martian: line 44: /usr/sbin/martian_modem: No such file or directory
Done
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd ,pmodem/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# ls
ASWMLICENSE          ltmdmobj.o                README
common.h             main.c                    session.c
coreadd.c            main.h                    smp.c
core.h               Makefile                  sysdep.c
core_if.c            martian_modem             sysdep.h
coresubst.c          martian_modem.debug       tweakcore.sh
debug_script.in      martian_modem.stripped    tweakrelocsdynamic.c
dumpers.c            mixspinlock.h             watch2.gdb
elf386tweakrelocs.c  mport.c                   watch3.gdb
isr.c                mport.h                   watch4.gdb
link.c               overriden_core_functions  watch.gdb
log.c                profile.c                 watch.h
log.h                pty.c
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# cp martian_modem /usr/sbin/
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# cp martian_modem /usr/sbin/lscd modem/service martian start
Starting martian_modem: /etc/init.d/martian: /usr/sbin/martian_modem: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Done
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# rm /usr/sbin/martian_modem -f
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# ls
ASWMLICENSE          ltmdmobj.o                README
common.h             main.c                    session.c
coreadd.c            main.h                    smp.c
core.h               Makefile                  sysdep.c
core_if.c            martian_modem             sysdep.h
coresubst.c          martian_modem.debug       tweakcore.sh
debug_script.in      martian_modem.stripped    tweakrelocsdynamic.c
dumpers.c            mixspinlock.h             watch2.gdb
elf386tweakrelocs.c  mport.c                   watch3.gdb
isr.c                mport.h                   watch4.gdb
link.c               overriden_core_functions  watch.gdb
log.c                profile.c                 watch.h
log.h                pty.c
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625/modem[root@black-amd64-home modem]# cd ..
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# ls
ChangeLog     Concept  kmodule   Makefile~  modem   scripts
Cleaning.txt  INSTALL  Makefile  martian.h  README
]0;root@black-amd64-home:/home/olivares/Download/martian-full-20080625[root@black-amd64-home martian-full-20080625]# cd ..
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# ls
001-martian.txt  martian-full-20080625         martian.tar.gz
martian          martian-full-20080625.tar.gz
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# cp /media/72f4731d-a8f3-4c89-a4da-98bc778e88f5/
/home/olivares/Download/martian-full-2008062\17.tar.gz .
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# ls
001-martian.txt  martian-full-20080617.tar.gz  martian-full-20080625.tar.gz
martian          martian-full-20080625         martian.tar.gz
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# tar -zxvf martian-full-20080617.tar.gz 
martian/
martian/kmodule/
martian/kmodule/Makefile
martian/kmodule/kmartian.h
martian/kmodule/marsio.h
martian/kmodule/mfifo.c
martian/kmodule/mfifo.h
martian/kmodule/fifo.h
martian/kmodule/mixspinlock.h
martian/kmodule/marsio.c
martian/kmodule/martian_ids.c
martian/kmodule/martian.c
martian/modem/
martian/modem/core_if.c
martian/modem/mport.c
martian/modem/smp.c
martian/modem/mixspinlock.h
martian/modem/profile.c
martian/modem/coreadd.c
martian/modem/Makefile
martian/modem/coresubst.c
martian/modem/mport.h
martian/modem/sysdep.c
martian/modem/tweakcore.sh
martian/modem/watch.h
martian/modem/README
martian/modem/elf386tweakrelocs.c
martian/modem/pty.c
martian/modem/sysdep.h
martian/modem/ltmdmobj.o
martian/modem/dumpers.c
martian/modem/log.c
martian/modem/session.c
martian/modem/main.c
martian/modem/ASWMLICENSE
martian/modem/log.h
martian/modem/main.h
martian/modem/debug_script.in
martian/modem/tweakrelocsdynamic.c
martian/modem/link.c
martian/modem/isr.c
martian/modem/common.h
martian/modem/watch2.gdb
martian/modem/watch3.gdb
martian/modem/watch4.gdb
martian/modem/watch.gdb
martian/modem/core.h
martian/modem/overriden_core_functions
martian/ChangeLog
martian/martian.h
martian/scripts/
martian/scripts/remove_outdated.sh
martian/scripts/automate.sh
martian/scripts/martian
martian/scripts/martian.in
martian/scripts/wv.conf
martian/INSTALL
martian/Concept
martian/Makefile
martian/README
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# cd martian
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# make -C kmodule/ inmodules
make: Entering directory `/home/olivares/Download/martian/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian/kmodule"  modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  CC [M]  /home/olivares/Download/martian/kmodule/martian.o
/home/olivares/Download/martian/kmodule/martian.c: In function ‘martian_isr’:
/home/olivares/Download/martian/kmodule/martian.c:131: warning: value computed is not used
  CC [M]  /home/olivares/Download/martian/kmodule/marsio.o
/home/olivares/Download/martian/kmodule/marsio.c:358: warning: ‘mars_read_register_rem’ defined but not used
/home/olivares/Download/martian/kmodule/marsio.c:371: warning: ‘mars_write_register_rem’ defined but not used
  CC [M]  /home/olivares/Download/martian/kmodule/mfifo.o
  LD [M]  /home/olivares/Download/martian/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/olivares/Download/martian/kmodule/martian_dev.mod.o
  LD [M]  /home/olivares/Download/martian/kmodule/martian_dev.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
make: Leaving directory `/home/olivares/Download/martian/kmodule'
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# make -C kmodule/ modulesinstall
make: Entering directory `/home/olivares/Download/martian/kmodule'
make -C /lib/modules/2.6.29.1-102.fc11.x86_64/build M="/home/olivares/Download/martian/kmodule" modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
  INSTALL /home/olivares/Download/martian/kmodule/martian_dev.ko
  DEPMOD  2.6.29.1-102.fc11.x86_64
make[1]: Leaving directory `/usr/src/kernels/2.6.29.1-102.fc11.x86_64'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make: Leaving directory `/home/olivares/Download/martian/kmodule'
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# service martian stop
Shutting down martian_modem: martian_modem is not running.
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# service martian stopart
Starting martian_modem: /etc/init.d/martian: line 44: /usr/sbin/martian_modem: No such file or directory
Done
]0;root@black-amd64-home:/home/olivares/Download/martian[root@black-amd64-home martian]# cd ..
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# ls
001-martian.txt  martian-full-20080617.tar.gz  martian-full-20080625.tar.gz
martian          martian-full-20080625         martian.tar.gz
]0;root@black-amd64-home:/home/olivares/Download[root@black-amd64-home Download]# exit
logout
]0;olivares@black-amd64-home:~/Download/martian-full-20080625[olivares@black-amd64-home martian-full-20080625]$ exit
exit

Script done on Tue 02 Jun 2009 07:37:08 PM CDT

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux