View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Mar 27, 2007 5:49 pm 
Offline
Joined: Mon Jan 09, 2006 3:59 pm
Posts: 18
Hi!

I am having problems building a new kernel.. R5E50

1. Downloaded kernel source that cecil posted in a topic something like "So you want kernel sources..."
2. unpacked, linked to linux, linked /usr/src/linux/include/asm-i386 to asm, and copied /boot/config-2.6.18-chw-13 to /usr/src/linux/.config
3. make
4. make modules_install
5. make install
lilo

... if I reboot now... everything seems to work.... except that my capture card(s) does not get initialized.... there is no mentions of ivtv in dmesg, and /dev/video0 does not show up.....

in /proc/interrupts there is no entries with ivtv as there used to be...

.......... now to the fun part...

If I restore /boot/ and /lib/modules and rerun lilo and reboot, everything works again...

if I manually copy the bzImage to /boot/ and rerun lilo, everything still works...
If I run make modules_install it stops working.....

what gets destroyed when I install the modules?!? do I haveto patch the kernel source I got from cecil?

I really need to turn off SMP for my backend (the network card seems to not work as supposed to when SMP is enabled), and for that I need to recompile everything in the kernel (scince the modules have the SMP versioning flag set) (ofcourse, I also wanted to recompile for my processor architecture also, and remove unwanted features.. but primarily, I just want the kernel to work!...)

so.. all-in-all .... I'm asking: how can we compile a working kernel?

I do see "knoppmyth is searching for multimedia devices bla bla bla bla" in the startup, and the capture card do show up in that list... but ivtv does not run anyway... udevd is also started.... no errormessages..... just no traces of ivtv....

Regards // OwL


Last edited by OwL on Sun Apr 01, 2007 5:14 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 1:41 am 
Offline
Joined: Mon Jan 09, 2006 3:59 pm
Posts: 18
Just noticed that "make modules_install" on the kernel will delete all the current modules, and then copy the new ones to the right location.... this causes the ivtv, nvidia and some other custom modules to be removed...

Cecil (or someone else who knows): What "extra" modules have been added in knoppmyth, that does not exist in the kernel source?
Where can we get the source for them?

And by the way..... I am having massive problems with packet loss on my ethernet card on R5E50 KM... very strange... I have tried to switch to other network cards, but they do not even initialize properly (they pass self test and seem to be allocated to eth0, but when the system is completely started, eth0 is missing, and no IRQ is assigned to the cards (except from the card that actually initializes, but that card then suffers from massive packetloss)).... This makes it virtually impossible to use that computer for backend/frontend system, scince streaming from the backend is very choppy due to the packetloss.... :((((
No error messages in dmesg, no errors reported in ifconfig... just, plain lost packets.... tried everything.. moved the cards around in the box, disabling IRQ:s, moving IRQ:s, disabling all extra periferals..

The same computer worked flawlessly on R5C KM

Regards // R

Code:
root@backend:~# cat /proc/interrupts
           CPU0
  0:   33931325    IO-APIC-edge  timer
  1:         10    IO-APIC-edge  i8042
  8:          1    IO-APIC-edge  rtc
  9:          1   IO-APIC-level  acpi
 12:        677    IO-APIC-edge  i8042
 14:    2955283    IO-APIC-edge  ide0
 15:     539891    IO-APIC-edge  ide1
 16:   17627638   IO-APIC-level  eth0
 17:          0   IO-APIC-level  ivtv0
 18:       7351   IO-APIC-level  ivtv1
 19:    2541623   IO-APIC-level  nvidia
NMI:          0
LOC:   33936569
ERR:          0
MIS:          0



Code:
root@backend:~# lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 12)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 12)
01:00.0 VGA compatible controller: nVidia Corporation NV15 [GeForce2 GTS/Pro] (rev a3)
03:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
03:05.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 11)
04:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
04:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)


Code:
Linux version 2.6.18-chw-13 (root@mythtv) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)) #1 SMP PREEMPT Sun Dec 3 23:47:01 PST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000ffbc0100 - 00000000ffbc0101 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
found SMP MP-table at 000fb6d0
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 61424 pages, LIFO batch:15
DMI 2.3 present.
ACPI: RSDP (v000 AMI                                   ) @ 0x000f9e90
ACPI: RSDT (v001 AMIINT INTEL845 0x00000010 MSFT 0x00000097) @ 0x0fff0000
ACPI: FADT (v001 AMIINT INTEL845 0x00000011 MSFT 0x00000097) @ 0x0fff0030
ACPI: MADT (v001 AMIINT          0x00000009 MSFT 0x00000097) @ 0x0fff00b0
ACPI: DSDT (v001  INTEL BROKDALE 0x00001000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:0 APIC version 20
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
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 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 10000000:efbc0100)
Detected 1716.071 MHz processor.
Built 1 zonelists.  Total pages: 65520
Kernel command line: auto BOOT_IMAGE=Linux ro root=301 apm=power-off nomce quiet
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 252976k/262080k available (4291k kernel code, 8644k reserved, 1349k data, 268k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3434.26 BogoMIPS (lpj=1717130)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: Hyper-Threading is disabled
CPU: After all inits, caps: 3febfbff 00000000 00000000 00000080 00000000 00000000 00000000
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 20k freed
ACPI: Core revision 20060707
CPU0: Intel(R) Pentium(R) 4 CPU 1700MHz stepping 0a
Total of 1 processors activated (3434.26 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 45k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfdb71, last bus=4
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 0400-043f claimed by ICH4 GPIO
Boot video device is 0000:01:00.0
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.ICHB._PRT]
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 *4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 9) *5
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 8 devices
PnPBIOS: Disabled by ACPI PNP
intel_rng: FWH not detected
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: ddb00000-dfcfffff
  PREFETCH window: bd600000-cd7fffff
PCI: Bridge: 0000:03:05.0
  IO window: disabled.
  MEM window: dfd00000-dfdfffff
  PREFETCH window: cd800000-dd8fffff
PCI: Bridge: 0000:00:1e.0
  IO window: b000-bfff
  MEM window: dfd00000-dfefffff
  PREFETCH window: cd800000-dd9fffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 4096 (order: 3, 49152 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1175120604.466:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFS: nTxBlock = 1977, nTxLock = 15819
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
vesafb: framebuffer at 0xc0000000, mapped to 0xd0980000, using 6144k, total 32768k
vesafb: mode is 1024x768x16, linelength=2048, pages=0
vesafb: protected mode interface info at c000:0a15
vesafb: pmi: set display start = c00c0a4e, set palette = c00c0ac4
vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...no good signature found.
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 7.1.9-k4
Copyright (c) 1999-2006 Intel Corporation.
pcnet32.c:v1.32 18.Mar.2006 tsbogend@alpha.franken.de
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
ns83820.c: National Semiconductor DP83820 10/100/1000 driver.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:03:03.0[A] -> GSI 19 (level, low) -> IRQ 16
eth0: RealTek RTL8139 at 0xd0802f00, 00:50:22:39:34:3d, IRQ 16
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
winbond-840.c:v1.01-d (2.4 port) Nov-17-2001  Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/drivers.html
uli526x: ULi M5261/M5263 net driver, version 0.9.3 (2005-7-29)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 0000:00:1f.1
ICH2: chipset revision 18
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: Maxtor 6Y120P0, ATA DISK drive
hdb: CRW9624, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: ST3802110A, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63
hda: cache flushes supported
 hda: hda1 hda2 hda3
hdc: max request size: 512KiB
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63
hdc: cache flushes supported
 hdc: hdc1 hdc2 hdc3
hdb: ATAPI 24X CD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
Loading iSCSI transport class v1.1-646.<7>libata version 2.00 loaded.
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32x1    429 MB/s
raid6: int32x2    453 MB/s
raid6: int32x4    363 MB/s
raid6: int32x8    371 MB/s
raid6: mmxx1     1328 MB/s
raid6: mmxx2     1746 MB/s
input: AT Translated Set 2 keyboard as /class/input/input0
raid6: sse1x1     800 MB/s
raid6: sse1x2    1515 MB/s
raid6: sse2x1    1609 MB/s
raid6: sse2x2    1925 MB/s
raid6: using algorithm sse2x2 (1925 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: automatically using best checksumming function: pIII_sse
   pIII_sse  :  2200.000 MB/sec
raid5: using function: pIII_sse (2200.000 MB/sec)
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
NET: Registered protocol family 1
NET: Registered protocol family 15
Using IPI No-Shortcut mode
Suspend2 Core.
Suspend2 Userspace UI Support module loaded.
Suspend2 Userspace Storage Manager module loaded.
Suspend2 Compressor module loaded.
Suspend2 Encryptor module loaded.
Suspend2 Block I/O module loaded.
Suspend2 Swap Allocator module loaded.
Time: tsc clocksource has been installed.
ACPI: (supports S0 S3 S4 S5)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Suspend2 2.2.8.4: You need to use a resume2= command line parameter to tell Suspend2 where to look for an image.
Suspend2 2.2.8.4: Resume2 parameter is empty. Suspending will be disabled.
Suspend2 2.2.8.4: Missing or invalid storage location (resume2= parameter). Please correct and rerun lilo (or equivalent) before suspending.
input: PS/2 Generic Mouse as /class/input/input1
(fs/jbd/recovery.c, 255): journal_recover: JBD: recovery, exit status 0, recovered transactions 41216 to 41415
(fs/jbd/recovery.c, 257): journal_recover: JBD: Replayed 2340 and revoked 2/3 blocks
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 268k freed
ts: Compaq touchscreen protocol output
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel i845 Chipset.
agpgart: AGP aperture is 64M @ 0xe0000000
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 17
Linux video capture interface: v2.00
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.8.2 (tagged release) loading
ivtv:  Linux version: 2.6.18-chw-13 SMP preempt mod_unload 586 gcc-4.1
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:04:08.0[A] -> GSI 17 (level, low) -> IRQ 17
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 1-0060: TEA5767 detected.
tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tuner 1-0060: type set to 62 (Philips TEA5767HN FM Radio)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
tveeprom 1-0050: Hauppauge model 23559, rev D591, serial# 2990997
tveeprom 1-0050: tuner model is Philips FQ1216AME MK4 (idx 91, type 56)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
tveeprom 1-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
tveeprom 1-0050: audio processor is CX25843 (idx 37)
tveeprom 1-0050: decoder processor is CX25843 (idx 30)
tveeprom 1-0050: has radio, has no IR remote
ivtv0: Autodetected WinTV PVR 500 (unit #1)
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Encoder revision: 0x02050032
ivtv0: Registered device video0 for encoder MPEG
ivtv0: Registered device video32 for encoder YUV
ivtv0: Registered device vbi0 for encoder VBI
ivtv0: Registered device video24 for encoder PCM audio
ivtv0: Registered device radio0 for encoder radio
tuner 1-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4))
ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:04:09.0[A] -> GSI 18 (level, low) -> IRQ 18
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #1)
tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
tveeprom 2-0050: Hauppauge model 23559, rev D591, serial# 2990997
tveeprom 2-0050: tuner model is Philips FQ1216AME MK4 (idx 91, type 56)
tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
tveeprom 2-0050: audio processor is CX25843 (idx 37)
tveeprom 2-0050: decoder processor is CX25843 (idx 30)
tveeprom 2-0050: has radio, has no IR remote
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
ivtv1: Encoder revision: 0x02050032
ivtv1: Registered device video1 for encoder MPEG
ivtv1: Registered device video33 for encoder YUV
ivtv1: Registered device vbi1 for encoder VBI
ivtv1: Registered device video25 for encoder PCM audio
tuner 2-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4))
ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
ivtv:  ====================  END INIT IVTV  ====================
Adding 379504k swap on /dev/hda2.  Priority:-1 extents:1 across:379504k
Adding 1959920k swap on /dev/hdc2.  Priority:-2 extents:1 across:1959920k
EXT3 FS on hda1, internal journal
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bt878: AUDIO driver version 0.0.0 loaded
Non-volatile memory driver v1.2
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hdc1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hdc3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
NET: Registered protocol family 17


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 3:18 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
Re: Your Ethernet problem

I've been experiencing a lot of problems that may be interrupt related (lost remote keypresses, slow running clock, etc.). Your Ethernet problem might be related. I've been trying everything with no luck. However, I just found this related to issues with boxes unable to keep up with the new higher clock interrupt rate:
Quote:
In standard 2.6 kernels, the timer interrupt rate is fixed at kernel compile time and cannot be changed by command line parameters. You can, however, recompile your kernel with a lower timer interrupt rate. 100Hz is adequate for most applications in a Linux guest. See the documentation for your Linux distribution for detailed instructions on how to build and run a custom kernel. Before recompiling the guest kernel, locate the following line in /usr/src/linux-2.6/include/asm-i386/param.h:

#define HZ 1000


Change the value of HZ to 100:

#define HZ 100
I'm going to try and recompile my kernel this weekend and see what happens (I've never done this before....). I notice you are already successfully recompiling the kernel, so you might want to try this change. Reading elsewhere, a more reasonable value for the clock interrupt rate is probably 250 or 300.

Some related references: hvmware discussion quoted above or More fixes, none of which have worked for me

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 6:32 am 
Offline
Joined: Mon Jan 09, 2006 3:59 pm
Posts: 18
I checked it out...

but it seems to already be changed for 2.6.18 kernels and onwards..

This is the file from 2.6.18-chw-13
Code:

#ifndef _ASMi386_PARAM_H
#define _ASMi386_PARAM_H

#ifdef __KERNEL__
# define HZ             CONFIG_HZ       /* Internal kernel timer frequency */
# define USER_HZ        100             /* .. some user interfaces are in "ticks" */
# define CLOCKS_PER_SEC         (USER_HZ)       /* like times() */
#endif

#ifndef HZ
#define HZ 100
#endif

#define EXEC_PAGESIZE   4096

#ifndef NOGROUP
#define NOGROUP         (-1)
#endif

#define MAXHOSTNAMELEN  64      /* max length of hostname */
#define COMMAND_LINE_SIZE 256

#endif


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 2:13 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
OwL wrote:
I checked it out...

but it seems to already be changed for 2.6.18 kernels and onwards...
I got around to trying this last night and you are partially right. It has been changed, but the default is still 1000 in KM (notice the ifndef).

To rebuild it, edit the .config in the source drive before making. Change:
Code:
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250_NODEFAULT is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
To:
Code:
CONFIG_HZ_100=y
CONFIG_HZ_250_NODEFAULT=y
# CONFIG_HZ_1000=y
# CONFIG_HZ=1000
When you run make, it will ask for the HZ to use.

Bad news is.... it didn't help my problem.

Allen

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 01, 2007 2:39 am 
Offline
Joined: Mon Jan 09, 2006 3:59 pm
Posts: 18
Hi!

I just managed to build kernel 2.6.20.4..

In my case it was just doing:

get the 2.6.20.4 kernel source from kernel.org, unpack, link to linux and copy the 2.6.18 config to the new kernel. Turned off SMP (Scince I thought my problem was related to that), added APIC support on uni processors and changed processor architecture to match my backends CPU.

Downloaded the latest ivtv source and latest firmwares (I unpacked them in the hotplug directory specified in the ivtv readme's). (the new ivtv needs new firmwares)

Then I read the ivtv install.README, and in there I got some things to change in the kernel config also... Did those changes.. (some v4l / multimedia devices something something, that was supposed to be turned off when using 2.6.20 kernels)

then I made:

Code:
cd /usr/src/linux
make
make modules_install
make install (but don't run lilo yet)
cd ..
tar -xvzf ivtv-0.10.1.tar.gz
cd ivtv-0.10.1
make
make install
apt-get install yaird
yaird -o /boot/initrd.img-2.6.20.4 2.6.20.4
nano /etc/lilo.conf (and added references to the new kernel and the new initrd image, make sure that you save the old kernel and initrd image references in another bootup choise, if the new kernel would blow up during boot)
lilo
reboot


Ofcourse the above might not be complete,, just wrote it of the top of my head (or do you say stack?,.. ;) )

Then I rebooted.....

but.. the bad news.... still packet losses, but I now only lose a couple of packets per 1000 I send.... but still not good.... (still unwatchable on the frontend, scince it skips all the time)

I have now managed to get me a couple of new network interfaces to try out... Will do that during the day...

Does anyone else have any tip to what choices in the kernel config that might affect our problems...

Regards // OwL


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 01, 2007 7:10 am 
Offline
Joined: Mon Jan 09, 2006 3:59 pm
Posts: 18
I have now been experimenting a bit...

Changed to other ethernet cards, but they don't seem to initialize properly.. :(

They show up during boot, and is given eth0, but when the bootup is finished, no eth0 exists...

if I force the realtek card to 10MBit full duplex, I lose no packets.... but... scince I have 100MBit internet connection, running on 10Mbit is no option,.. :(

Why is the only ethernet card that works (somewhat.... ) the realtek card?!?!

Regards // OwL


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 01, 2007 5:13 pm 
Offline
Joined: Mon Jan 09, 2006 3:59 pm
Posts: 18
I think I will set this to SOLVED, scince I have actually managed to make myself some new kernels........ and start another thread in the linux general forum instead...

I have tweaked like a madman on the 2.6.20.4 kernel but I still suffer from packet loss.. :(

I now get 90-100MBit Rx speed and only about 15-20MBit Tx speed..... but the packet loss is down below 1% ... but it is still unusable for a frontend/backend system...

hey... wait.... what if.. hmmm... could it be like that?... my internet connection is 100/10 wonder if that plays any role in this?..... naaaa.. hardly.. internal network.... traceroute shows only one hop...

damn, this is driving me crazy....

Regards // R


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu