linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* More than 2Gb problem (dvb related) ?
@ 2007-04-27 11:10 Gregoire Favre
  2007-04-27 20:46 ` Markus Rechberger
  0 siblings, 1 reply; 20+ messages in thread
From: Gregoire Favre @ 2007-04-27 11:10 UTC (permalink / raw)
  To: linux-kernel, linux-dvb

Hello,

I have a computer (mother Asus Commando) with 4x1Gb Ram.

If I start without the BIOS remap memory, my BIOS and linux just see 2Gb
of ram, and DVB apps works just great.

When I enable the remapping of the memory, my BIOS and linux just see
the whole 4Gb but then, I can tune to any transponder without problem,
but I am unable to get a TS...

I have tested it with vdr/kaffeine/mplayer.

szap/kaffeine/vdr get the lock just well.

I had already asked about this on just linux-dvb ml, but maybe I am the
first one to try DVB with a system with more than 2 Gb as I didn't
receive any further info as someone get it working or not with such
amount of ram.

Anyone got an idea on what could be done to solve this issue ?

PLEASE CC to me all message in lkml as I am not subscribed to this ml :)
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: More than 2Gb problem (dvb related) ?
  2007-04-27 11:10 More than 2Gb problem (dvb related) ? Gregoire Favre
@ 2007-04-27 20:46 ` Markus Rechberger
  2007-04-27 21:03   ` Gregoire Favre
  2007-04-27 22:00   ` [linux-dvb] " Jon Burgess
  0 siblings, 2 replies; 20+ messages in thread
From: Markus Rechberger @ 2007-04-27 20:46 UTC (permalink / raw)
  To: Gregoire Favre; +Cc: linux-kernel, linux-dvb

just for the completeness, what does dmesg show up?
You forgot to mention what device you have too...

Markus

On 4/27/07, Gregoire Favre <Gregoire.Favre@gmail.com> wrote:
> Hello,
>
> I have a computer (mother Asus Commando) with 4x1Gb Ram.
>
> If I start without the BIOS remap memory, my BIOS and linux just see 2Gb
> of ram, and DVB apps works just great.
>
> When I enable the remapping of the memory, my BIOS and linux just see
> the whole 4Gb but then, I can tune to any transponder without problem,
> but I am unable to get a TS...
>
> I have tested it with vdr/kaffeine/mplayer.
>
> szap/kaffeine/vdr get the lock just well.
>
> I had already asked about this on just linux-dvb ml, but maybe I am the
> first one to try DVB with a system with more than 2 Gb as I didn't
> receive any further info as someone get it working or not with such
> amount of ram.
>
> Anyone got an idea on what could be done to solve this issue ?
>
> PLEASE CC to me all message in lkml as I am not subscribed to this ml :)
> --
> Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
>                http://picasaweb.google.com/Gregoire.Favre
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


-- 
Markus Rechberger

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: More than 2Gb problem (dvb related) ?
  2007-04-27 20:46 ` Markus Rechberger
@ 2007-04-27 21:03   ` Gregoire Favre
  2007-04-27 22:00   ` [linux-dvb] " Jon Burgess
  1 sibling, 0 replies; 20+ messages in thread
From: Gregoire Favre @ 2007-04-27 21:03 UTC (permalink / raw)
  To: Markus Rechberger; +Cc: linux-kernel, linux-dvb

On Fri, Apr 27, 2007 at 10:46:33PM +0200, Markus Rechberger wrote:
>  just for the completeness, what does dmesg show up?
>  You forgot to mention what device you have too...

Here all in one :

Linux version 2.6.21-rc7 (greg@vdr) (gcc version 4.1.2 (Gentoo 4.1.2)) #1 SMP PREEMPT Mon Apr 23 14:18:37 CEST 2007
Command line: root=/dev/md3 vga=0x507
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
 BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007ff90000 (usable)
 BIOS-e820: 000000007ff90000 - 000000007ff9e000 (ACPI data)
 BIOS-e820: 000000007ff9e000 - 000000007ffe0000 (ACPI NVS)
 BIOS-e820: 000000007ffe0000 - 0000000080000000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000180000000 (usable)
Entering add_active_range(0, 0, 158) 0 entries of 256 used
Entering add_active_range(0, 256, 524176) 1 entries of 256 used
Entering add_active_range(0, 1048576, 1572864) 2 entries of 256 used
end_pfn_map = 1572864
DMI 2.4 present.
ACPI: RSDP 000FB020, 0024 (r2 ACPIAM)
ACPI: XSDT 7FF90100, 0054 (r1 ÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿ  3000712 MSFT       97)
ACPI: FACP 7FF90290, 00F4 (r3 MSTEST OEMFACP   3000712 MSFT       97)
ACPI: DSDT 7FF905C0, 967B (r1  A0693 A0693000        0 INTL 20060113)
ACPI: FACS 7FF9E000, 0040
ACPI: APIC 7FF90390, 006C (r1 MSTEST OEMAPIC   3000712 MSFT       97)
ACPI: MCFG 7FF90400, 003C (r1 MSTEST OEMMCFG   3000712 MSFT       97)
ACPI: SLIC 7FF90440, 0176 (r1 ÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿ  3000712 MSFT       97)
ACPI: OEMB 7FF9E040, 007B (r1 MSTEST AMI_OEM   3000712 MSFT       97)
ACPI: HPET 7FF99C40, 0038 (r1 MSTEST OEMHPET   3000712 MSFT       97)
Entering add_active_range(0, 0, 158) 0 entries of 256 used
Entering add_active_range(0, 256, 524176) 1 entries of 256 used
Entering add_active_range(0, 1048576, 1572864) 2 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  DMA32        4096 ->  1048576
  Normal    1048576 ->  1572864
early_node_map[3] active PFN ranges
    0:        0 ->      158
    0:      256 ->   524176
    0:  1048576 ->  1572864
On node 0 totalpages: 1048366
  DMA zone: 56 pages used for memmap
  DMA zone: 1187 pages reserved
  DMA zone: 2755 pages, LIFO batch:0
  DMA32 zone: 14280 pages used for memmap
  DMA32 zone: 505800 pages, LIFO batch:31
  Normal zone: 7168 pages used for memmap
  Normal zone: 517120 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, 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.
Setting APIC routing to physical flat
ACPI: HPET id: 0x8086a202 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Nosave address range: 000000000009e000 - 000000000009f000
Nosave address range: 000000000009f000 - 00000000000a0000
Nosave address range: 00000000000a0000 - 00000000000e4000
Nosave address range: 00000000000e4000 - 0000000000100000
Nosave address range: 000000007ff90000 - 000000007ff9e000
Nosave address range: 000000007ff9e000 - 000000007ffe0000
Nosave address range: 000000007ffe0000 - 0000000080000000
Nosave address range: 0000000080000000 - 00000000fee00000
Nosave address range: 00000000fee00000 - 00000000fee01000
Nosave address range: 00000000fee01000 - 00000000ffb00000
Nosave address range: 00000000ffb00000 - 0000000100000000
Allocating PCI resources starting at 88000000 (gap: 80000000:7ee00000)
SMP: Allowing 2 CPUs, 0 hotplug CPUs
PERCPU: Allocating 32768 bytes of per cpu data
Built 1 zonelists.  Total pages: 1025675
Kernel command line: root=/dev/md3 vga=0x507
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
time.c: Detected 2399.999 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Checking aperture...
Calgary: detecting Calgary via BIOS EBDA area
Calgary: Unable to locate Rio Grande table in EBDA - bailing!
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing software IO TLB between 0x6a42000 - 0xaa42000
Memory: 4030156k/6291456k available (3128k kernel code, 163124k reserved, 1048k data, 204k init)
Calibrating delay using timer specific routine.. 4804.75 BogoMIPS (lpj=8004414)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
using mwait in idle threads.
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
Using local APIC timer interrupts.
result 16666662
Detected 16.666 MHz APIC timer.
SMP alternatives: switching to SMP code
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4801.03 BogoMIPS (lpj=8000049)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU1: Thermal monitoring enabled (TM2)
Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz stepping 06
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
migration_cost=19
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
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 ICH6 ACPI/GPIO/TCO
PCI quirk: region 0480-04bf claimed by ICH6 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.P0P2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P9._PRT]
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 3 4 5 6 7 10 11 12 14 *15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 *14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 *4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 *7 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
SCSI subsystem initialized
libata version 2.20 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: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI-GART: No AMD northbridge found.
pnp: 00:01: iomem range 0xfed14000-0xfed19fff has been reserved
pnp: 00:06: ioport range 0x290-0x297 has been reserved
pnp: 00:07: iomem range 0xffafe000-0xffb0cbff could not be reserved
pnp: 00:07: iomem range 0xffb00000-0xffbfffff could not be reserved
pnp: 00:07: iomem range 0xfed1c000-0xfed1ffff has been reserved
pnp: 00:07: iomem range 0xfed20000-0xfed8ffff has been reserved
pnp: 00:09: iomem range 0xfec00000-0xfec00fff has been reserved
pnp: 00:09: iomem range 0xfee00000-0xfee00fff could not be reserved
pnp: 00:0b: iomem range 0xe0000000-0xefffffff has been reserved
pnp: 00:0c: iomem range 0x0-0x9ffff could not be reserved
pnp: 00:0c: iomem range 0xc0000-0xcffff has been reserved
pnp: 00:0c: iomem range 0xe0000-0xfffff could not be reserved
pnp: 00:0c: iomem range 0x100000-0x7fffffff could not be reserved
Time: tsc clocksource has been installed.
PCI: Bridge: 0000:00:01.0
  IO window: a000-afff
  MEM window: cfc00000-d3cfffff
  PREFETCH window: 8fa00000-cf9fffff
PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: cfa00000-cfafffff
PCI: Bridge: 0000:00:1c.5
  IO window: b000-bfff
  MEM window: d3d00000-d3dfffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
  IO window: c000-cfff
  MEM window: d3e00000-dfefffff
  PREFETCH window: 88000000-880fffff
ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:01.0 to 64
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.5[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.5 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 131072 (order: 9, 3145728 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
SGI XFS with large block/inode numbers, no debug enabled
io scheduler noop registered
io scheduler cfq registered (default)
vesafb: framebuffer at 0xa0000000, mapped to 0xffffc20000080000, using 2560k, total 524288k
vesafb: mode is 1280x1024x8, linelength=1280, pages=1
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
Console: switching to colour frame buffer device 160x64
fb0: VESA VGA frame buffer device
ACPI: SSDT 7FF9E0C0, 01C6 (r1    AMI   CPU1PM        1 INTL 20060113)
ACPI: SSDT 7FF9E290, 013A (r1    AMI   CPU2PM        1 INTL 20060113)
ACPI Exception (processor_core-0783): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0783): AE_NOT_FOUND, Processor Device is not present [20070126]
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
ACPI: PCI Interrupt 0000:04:04.0[A] -> GSI 19 (level, low) -> IRQ 19
skge 1.10 addr 0xdfef4000 irq 19 chip Yukon-Lite rev 9
skge eth0: addr 00:1a:92:4b:02:5a
ahci 0000:00:1f.2: version 2.1
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 6 ports 3 Gbps 0x3f impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq ilck stag pm led clo pmp pio slum part 
ata1: SATA max UDMA/133 cmd 0xffffc20000036900 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata2: SATA max UDMA/133 cmd 0xffffc20000036980 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata3: SATA max UDMA/133 cmd 0xffffc20000036a00 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata4: SATA max UDMA/133 cmd 0xffffc20000036a80 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata5: SATA max UDMA/133 cmd 0xffffc20000036b00 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata6: SATA max UDMA/133 cmd 0xffffc20000036b80 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
scsi0 : ahci
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7: SAMSUNG HD401LJ, ZZ100-15, max UDMA7
ata1.00: 781422768 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi1 : ahci
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: SAMSUNG HD401LJ, ZZ100-15, max UDMA7
ata2.00: 781422768 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi2 : ahci
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.00: ATAPI, max UDMA/100
ata3.00: configured for UDMA/100
scsi3 : ahci
ata4: SATA link down (SStatus 0 SControl 300)
scsi4 : ahci
ata5: SATA link down (SStatus 0 SControl 300)
scsi5 : ahci
ata6: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG HD401LJ  ZZ10 PQ: 0 ANSI: 5
SCSI device sda: 781422768 512-byte hdwr sectors (400088 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sda: 781422768 512-byte hdwr sectors (400088 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG HD401LJ  ZZ10 PQ: 0 ANSI: 5
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 >
sd 1:0:0:0: Attached scsi disk sdb
sd 1:0:0:0: Attached scsi generic sg1 type 0
scsi 2:0:0:0: CD-ROM            LITE-ON  DVDRW SH-16A7S   WS04 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 125x/125x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0
sr 2:0:0:0: Attached scsi generic sg2 type 5
ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1a.7 to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1a.7
ehci_hcd 0000:00:1a.7: irq 18, io mem 0xdffff400
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xdffff000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000e000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 17, io base 0x0000e080
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 2-3: new high speed USB device using ehci_hcd and address 2
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000d800
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 2-3: configuration #1 chosen from 1 choice
hub 2-3:1.0: USB hub found
hub 2-3:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d880
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000dc00
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
usb 2-3.1: new high speed USB device using ehci_hcd and address 4
usb 2-3.1: configuration #1 chosen from 1 choice
hub 2-3.1:1.0: USB hub found
hub 2-3.1:1.0: 4 ports detected
usb 2-3.2: new high speed USB device using ehci_hcd and address 5
usb 2-3.2: configuration #1 chosen from 1 choice
usb 7-1: new full speed USB device using uhci_hcd and address 2
usb 7-1: configuration #1 chosen from 1 choice
hub 7-1:1.0: USB hub found
hub 7-1:1.0: 4 ports detected
usb 7-1.1: new low speed USB device using uhci_hcd and address 3
usb 7-1.1: configuration #1 chosen from 1 choice
usb 7-1.4: new full speed USB device using uhci_hcd and address 4
usb 7-1.4: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: Logitech Logitech Gaming Keyboard as /class/input/input0
input: USB HID v1.10 Keyboard [Logitech Logitech Gaming Keyboard] on usb-0000:00:1d.2-1.1
input: Logitech Logitech Gaming Keyboard as /class/input/input1
input,hiddev96: USB HID v1.10 Device [Logitech Logitech Gaming Keyboard] on usb-0000:00:1d.2-1.1
input: G15 Keyboard G15 Keyboard as /class/input/input2
input,hiddev97: USB HID v1.11 Keypad [G15 Keyboard G15 Keyboard] on usb-0000:00:1d.2-1.4
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: PS/2 Controller [PNP0f03:PS2M] at 0x60,0x64 irq 12
PNP: PS/2 controller doesn't have KBD irq; using default 1
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
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC).
ALSA device list:
  No soundcards found.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
logips2pp: Detected unknown logitech mouse model 105
input: ImExPS/2 Logitech Explorer Mouse as /class/input/input3
md: Autodetecting RAID arrays.
md: autorun ...
md: considering sdb6 ...
md:  adding sdb6 ...
md: sdb5 has different UUID to sdb6
md: sdb2 has different UUID to sdb6
md:  adding sda6 ...
md: sda5 has different UUID to sdb6
md: sda2 has different UUID to sdb6
md: created md4
md: bind<sda6>
md: bind<sdb6>
md: running: <sdb6><sda6>
md4: setting max_sectors to 128, segment boundary to 32767
raid0: looking at sdb6
raid0:   comparing sdb6(360329792) with sdb6(360329792)
raid0:   END
raid0:   ==> UNIQUE
raid0: 1 zones
raid0: looking at sda6
raid0:   comparing sda6(360329792) with sdb6(360329792)
raid0:   EQUAL
raid0: FINAL 1 zones
raid0: done.
raid0 : md_size is 720659584 blocks.
raid0 : conf->hash_spacing is 720659584 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: considering sdb5 ...
md:  adding sdb5 ...
md: sdb2 has different UUID to sdb5
md:  adding sda5 ...
md: sda2 has different UUID to sdb5
md: created md3
md: bind<sda5>
md: bind<sdb5>
md: running: <sdb5><sda5>
raid1: raid set md3 active with 2 out of 2 mirrors
md: considering sdb2 ...
md:  adding sdb2 ...
md:  adding sda2 ...
md: created md1
md: bind<sda2>
md: bind<sdb2>
md: running: <sdb2><sda2>
raid1: raid set md1 active with 2 out of 2 mirrors
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 204k freed
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64
Initializing USB Mass Storage driver...
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
saa7146: register extension 'budget_ci dvb'.
Linux video capture interface: v2.00
cx2388x alsa driver version 0.0.6 loaded
cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
cx2388x v4l2 driver version 0.0.6 loaded
nvidia: module license 'NVIDIA' taints kernel.
PCI: Enabling device 0000:00:1f.3 (0001 -> 0003)
ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:02:00.0 to 64
sky2 0000:02:00.0: v1.13 addr 0xd3dfc000 irq 17 Yukon-EC Ultra (0xb4) rev 2
sky2 eth1: addr 00:1a:92:4b:0d:62
ACPI: PCI Interrupt 0000:04:03.0[A] -> GSI 21 (level, low) -> IRQ 21
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[21]  MMIO=[dfeff000-dfeff7ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ACPI: PCI Interrupt 0000:04:01.0[A] -> GSI 22 (level, low) -> IRQ 22
saa7146: found saa7146 @ mem ffffc20000060c00 (revision 1, irq 22) (0x13c2,0x100f).
saa7146 (0): dma buffer size 192512
DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
adapter has MAC addr = 00:d0:5c:23:a3:9b
input: Budget-CI dvb ir receiver saa7146 (0) as /class/input/input4
DVB: registering frontend 0 (ST STV0299 DVB-S)...
ACPI: PCI Interrupt 0000:04:02.1[A] -> GSI 23 (level, low) -> IRQ 23
cx88[0]: Your board isn't known (yet) to the driver.  You can
cx88[0]: try to pick one of the existing card configs via
cx88[0]: card=<n> insmod option.  Updating to the latest
cx88[0]: version might help as well.
cx88[0]: Here is a list of valid choices for the card=<n> insmod option:
cx88[0]:    card=0 -> UNKNOWN/GENERIC
cx88[0]:    card=1 -> Hauppauge WinTV 34xxx models
cx88[0]:    card=2 -> GDI Black Gold
cx88[0]:    card=3 -> PixelView
cx88[0]:    card=4 -> ATI TV Wonder Pro
cx88[0]:    card=5 -> Leadtek Winfast 2000XP Expert
cx88[0]:    card=6 -> AverTV Studio 303 (M126)
cx88[0]:    card=7 -> MSI TV-@nywhere Master
cx88[0]:    card=8 -> Leadtek Winfast DV2000
cx88[0]:    card=9 -> Leadtek PVR 2000
cx88[0]:    card=10 -> IODATA GV-VCP3/PCI
cx88[0]:    card=11 -> Prolink PlayTV PVR
cx88[0]:    card=12 -> ASUS PVR-416
cx88[0]:    card=13 -> MSI TV-@nywhere
cx88[0]:    card=14 -> KWorld/VStream XPert DVB-T
cx88[0]:    card=15 -> DViCO FusionHDTV DVB-T1
cx88[0]:    card=16 -> KWorld LTV883RF
cx88[0]:    card=17 -> DViCO FusionHDTV 3 Gold-Q
cx88[0]:    card=18 -> Hauppauge Nova-T DVB-T
cx88[0]:    card=19 -> Conexant DVB-T reference design
cx88[0]:    card=20 -> Provideo PV259
cx88[0]:    card=21 -> DViCO FusionHDTV DVB-T Plus
cx88[0]:    card=22 -> pcHDTV HD3000 HDTV
cx88[0]:    card=23 -> digitalnow DNTV Live! DVB-T
cx88[0]:    card=24 -> Hauppauge WinTV 28xxx (Roslyn) models
cx88[0]:    card=25 -> Digital-Logic MICROSPACE Entertainment Center (MEC)
cx88[0]:    card=26 -> IODATA GV/BCTV7E
cx88[0]:    card=27 -> PixelView PlayTV Ultra Pro (Stereo)
cx88[0]:    card=28 -> DViCO FusionHDTV 3 Gold-T
cx88[0]:    card=29 -> ADS Tech Instant TV DVB-T PCI
cx88[0]:    card=30 -> TerraTec Cinergy 1400 DVB-T
cx88[0]:    card=31 -> DViCO FusionHDTV 5 Gold
cx88[0]:    card=32 -> AverMedia UltraTV Media Center PCI 550
cx88[0]:    card=33 -> Kworld V-Stream Xpert DVD
cx88[0]:    card=34 -> ATI HDTV Wonder
cx88[0]:    card=35 -> WinFast DTV1000-T
cx88[0]:    card=36 -> AVerTV 303 (M126)
cx88[0]:    card=37 -> Hauppauge Nova-S-Plus DVB-S
cx88[0]:    card=38 -> Hauppauge Nova-SE2 DVB-S
cx88[0]:    card=39 -> KWorld DVB-S 100
cx88[0]:    card=40 -> Hauppauge WinTV-HVR1100 DVB-T/Hybrid
cx88[0]:    card=41 -> Hauppauge WinTV-HVR1100 DVB-T/Hybrid (Low Profile)
cx88[0]:    card=42 -> digitalnow DNTV Live! DVB-T Pro
cx88[0]:    card=43 -> KWorld/VStream XPert DVB-T with cx22702
cx88[0]:    card=44 -> DViCO FusionHDTV DVB-T Dual Digital
cx88[0]:    card=45 -> KWorld HardwareMpegTV XPert
cx88[0]:    card=46 -> DViCO FusionHDTV DVB-T Hybrid
cx88[0]:    card=47 -> pcHDTV HD5500 HDTV
cx88[0]:    card=48 -> Kworld MCE 200 Deluxe
cx88[0]:    card=49 -> PixelView PlayTV P7000
cx88[0]:    card=50 -> NPG Tech Real TV FM Top 10
cx88[0]:    card=51 -> WinFast DTV2000 H
cx88[0]:    card=52 -> Geniatech DVB-S
cx88[0]:    card=53 -> Hauppauge WinTV-HVR3000 TriMode Analog/DVB-S/DVB-T
cx88[0]:    card=54 -> Norwood Micro TV Tuner
cx88[0]:    card=55 -> Shenzhen Tungsten Ages Tech TE-DTV-250 / Swann OEM
cx88[0]:    card=56 -> Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder
CORE cx88[0]: subsystem: 0070:6902, board: UNKNOWN/GENERIC [card=0,autodetected]
TV tuner -1 at 0x1fe, Radio tuner -1 at 0x1fe
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
cx88[0]/2: cx2388x 8802 Driver Manager
CORE cx88[1]: subsystem: 14f1:0084, board: Geniatech DVB-S [card=52,autodetected]
TV tuner 4 at 0x1fe, Radio tuner -1 at 0x1fe
cx88[1]/2: cx2388x 8802 Driver Manager
ACPI: PCI Interrupt 0000:04:05.2[A] -> GSI 20 (level, low) -> IRQ 20
cx88[1]/2: found at 0000:04:05.2, rev: 3, irq: 20, latency: 64, mmio: 0xda000000
ACPI: PCI Interrupt 0000:04:02.0[A] -> GSI 23 (level, low) -> IRQ 23
cx88[0]/0: found at 0000:04:02.0, rev: 5, irq: 23, latency: 64, mmio: 0xdb000000
cx2388x dvb driver version 0.0.6 loaded
cx8802_register_driver() ->registering driver type=dvb access=shared
CORE cx88[1]: subsystem: 14f1:0084, board: Geniatech DVB-S [card=52]
cx88[1]/2: cx2388x based dvb card
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
ACPI: PCI Interrupt 0000:04:05.0[A] -> GSI 20 (level, low) -> IRQ 20
cx88[1]/0: found at 0000:04:05.0, rev: 3, irq: 20, latency: 64, mmio: 0xd9000000
cx88[1]/0: registered device video1 [v4l2]
cx88[1]/0: registered device vbi1
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:01:00.0 to 64
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  1.0-9755  Mon Feb 26 23:16:31 PST 2007
DVB: registering new adapter (cx88[1]).
DVB: registering frontend 1 (Conexant CX24123/CX24109)...
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0011d80001205f74]
usb-storage: device scan complete
scsi 6:0:0:0: Direct-Access     SMSC     223 U HS-CF      3.60 PQ: 0 ANSI: 0
scsi 6:0:0:1: Direct-Access     SMSC     223 U HS-MS      3.60 PQ: 0 ANSI: 0
scsi 6:0:0:2: Direct-Access     SMSC     223 U HS-SM      3.60 PQ: 0 ANSI: 0
scsi 6:0:0:3: Direct-Access     SMSC     223 U HS-SD/MMC  3.60 PQ: 0 ANSI: 0
sd 6:0:0:0: Attached scsi removable disk sdc
sd 6:0:0:0: Attached scsi generic sg3 type 0
sd 6:0:0:1: Attached scsi removable disk sdd
sd 6:0:0:1: Attached scsi generic sg4 type 0
sd 6:0:0:2: Attached scsi removable disk sde
sd 6:0:0:2: Attached scsi generic sg5 type 0
sd 6:0:0:3: Attached scsi removable disk sdf
sd 6:0:0:3: Attached scsi generic sg6 type 0
EXT3 FS on md3, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-10, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Filesystem "dm-7": Disabling barriers, not supported by the underlying device
XFS mounting filesystem dm-7
Ending clean XFS mount for filesystem: dm-7
Filesystem "dm-11": Disabling barriers, not supported by the underlying device
XFS mounting filesystem dm-11
Ending clean XFS mount for filesystem: dm-11
Adding 1004052k swap on /dev/sda3.  Priority:1 extents:1 across:1004052k
Adding 1004052k swap on /dev/sdb3.  Priority:1 extents:1 across:1004052k
sky2 eth1: enabling interface
sky2 eth1: ram buffer 0K
skge eth0: enabling interface
skge eth0: Link is up at 100 Mbps, full duplex, flow control both
cdrom: This disc doesn't have any tracks I recognize!

Thank,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [linux-dvb] Re: More than 2Gb problem (dvb related) ?
  2007-04-27 20:46 ` Markus Rechberger
  2007-04-27 21:03   ` Gregoire Favre
@ 2007-04-27 22:00   ` Jon Burgess
  2007-04-27 22:06     ` Lee Revell
  1 sibling, 1 reply; 20+ messages in thread
From: Jon Burgess @ 2007-04-27 22:00 UTC (permalink / raw)
  To: Markus Rechberger; +Cc: Gregoire Favre, linux-dvb, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2527 bytes --]

On Fri, 2007-04-27 at 22:46 +0200, Markus Rechberger wrote:
> just for the completeness, what does dmesg show up?
> You forgot to mention what device you have too...
> 
> Markus
> 
> On 4/27/07, Gregoire Favre <Gregoire.Favre@gmail.com> wrote:
> > Hello,
> >
> > I have a computer (mother Asus Commando) with 4x1Gb Ram.
> >
> > If I start without the BIOS remap memory, my BIOS and linux just see 2Gb
> > of ram, and DVB apps works just great.
> >
> > When I enable the remapping of the memory, my BIOS and linux just see
> > the whole 4Gb but then, I can tune to any transponder without problem,
> > but I am unable to get a TS...
> >
> > I have tested it with vdr/kaffeine/mplayer.
> >
> > szap/kaffeine/vdr get the lock just well.
> >
> > I had already asked about this on just linux-dvb ml, but maybe I am the
> > first one to try DVB with a system with more than 2 Gb as I didn't
> > receive any further info as someone get it working or not with such
> > amount of ram.
> >
> > Anyone got an idea on what could be done to solve this issue ?
> >
> > PLEASE CC to me all message in lkml as I am not subscribed to this ml :)
> > --
> > Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
> >                http://picasaweb.google.com/Gregoire.Favre
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> >
> 
> 

Interesting - I see similar symptoms after upgrading my PC:
* old PC was AMD Athlon 64 3000 w/ 2GB of RAM which had no issues
* new PC is a Intel Core 2 Duo w/ 4GB of RAM and fails in the way you
describe.

I have a Nova-T PCI using the budget-ci driver which I have been using
successfully for several years.

When the problem occurs the card tunes OK and even generates interrupts
at a normal rate - just no data reaches dvr0.

If I reload the driver multiple times it works some of the time. It
seems to work more reliably if I reload the driver while the machine is
under some other load, e.g. run "find /" in one window while performing
the following:

# modprobe -r budget_ci; sleep 1; modprobe budget_ci
$ tzap -r "BBC One"
$ cat /dev/dvb/adapter0/dvr0

if no random data appears repeat the modprobe and try again.

Since i've upgraded the whole of the machine it could be due to any
number of factors (RAM, CPU, SMP, Chipset ...).

The boot log is attached.

	Jon



[-- Attachment #2: bootlog.txt --]
[-- Type: text/plain, Size: 29008 bytes --]

Linux version 2.6.21-1.3116 (jburgess@shark.nightingale.homedns.org) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Thu Apr 26 19:54:55 BST 2007
Command line: ro root=/dev/VolGroup00/LogVol00 vga=0x315 console=ttyS0,115200 console=tty0
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009e800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000cf6e0000 (usable)
 BIOS-e820: 00000000cf6e0000 - 00000000cf6e3000 (ACPI NVS)
 BIOS-e820: 00000000cf6e3000 - 00000000cf6f0000 (ACPI data)
 BIOS-e820: 00000000cf6f0000 - 00000000cf700000 (reserved)
 BIOS-e820: 00000000d0000000 - 00000000e0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000130000000 (usable)
end_pfn_map = 1245184
DMI 2.4 present.
ACPI: RSDP 000F6DA0, 0014 (r0 GBT   )
ACPI: RSDT CF6E3040, 003C (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
ACPI: FACP CF6E30C0, 0074 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
ACPI: DSDT CF6E3180, 5222 (r1 GBT    GBTUACPI     1000 MSFT  100000C)
ACPI: FACS CF6E0000, 0040
ACPI: HPET CF6E8500, 0038 (r1 GBT    GBTUACPI 42302E31 GBTU       98)
ACPI: MCFG CF6E8580, 003C (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
ACPI: APIC CF6E8400, 0084 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
ACPI: SSDT CF6E8600, 015C (r1  PmRef  Cpu0Ist     3000 INTL 20040311)
ACPI: SSDT CF6E8A90, 0275 (r1  PmRef    CpuPm     3000 INTL 20040311)
No NUMA configuration found
Faking a node at 0000000000000000-0000000130000000
Bootmem setup node 0 0000000000000000-0000000130000000
Zone PFN ranges:
  DMA             0 ->     4096
  DMA32        4096 ->  1048576
  Normal    1048576 ->  1245184
early_node_map[3] active PFN ranges
    0:        0 ->      158
    0:      256 ->   849632
    0:  1048576 ->  1245184
ACPI: PM-Timer IO Port: 0x408
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, 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)
Setting APIC routing to physical flat
ACPI: HPET id: 0x8086a201 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Nosave address range: 000000000009e000 - 00000000000a0000
Nosave address range: 00000000000a0000 - 00000000000f0000
Nosave address range: 00000000000f0000 - 0000000000100000
Nosave address range: 00000000cf6e0000 - 00000000cf6e3000
Nosave address range: 00000000cf6e3000 - 00000000cf6f0000
Nosave address range: 00000000cf6f0000 - 00000000cf700000
Nosave address range: 00000000cf700000 - 00000000d0000000
Nosave address range: 00000000d0000000 - 00000000e0000000
Nosave address range: 00000000e0000000 - 00000000fec00000
Nosave address range: 00000000fec00000 - 0000000100000000
Allocating PCI resources starting at e2000000 (gap: e0000000:1ec00000)
SMP: Allowing 4 CPUs, 2 hotplug CPUs
PERCPU: Allocating 44672 bytes of per cpu data
Built 1 zonelists.  Total pages: 1017022
Kernel command line: ro root=/dev/VolGroup00/LogVol00 vga=0x315 console=ttyS0,115200 console=tty0
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
time.c: Detected 2399.998 MHz processor.
Console: colour dummy device 80x25
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:    8
... MAX_LOCK_DEPTH:          30
... MAX_LOCKDEP_KEYS:        2048
... CLASSHASH_SIZE:           1024
... MAX_LOCKDEP_ENTRIES:     8192
... MAX_LOCKDEP_CHAINS:      16384
... CHAINHASH_SIZE:          8192
 memory used by lock dependency info: 1648 kB
 per task-struct memory footprint: 1680 bytes
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Checking aperture...
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing software IO TLB between 0x6e8a000 - 0xae8a000
Memory: 4008368k/4980736k available (2465k kernel code, 176200k reserved, 1445k data, 332k init)
Calibrating delay using timer specific routine.. 4803.21 BogoMIPS (lpj=2401605)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU 0/0 -> Node 0
using mwait in idle threads.
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
lockdep: not fixing up alternatives.
ACPI: Core revision 20070126
Using local APIC timer interrupts.
result 16666658
Detected 16.666 MHz APIC timer.
lockdep: not fixing up alternatives.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4800.02 BogoMIPS (lpj=2400013)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU 1/1 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU1: Thermal monitoring enabled (TM2)
Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz stepping 06
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
migration_cost=22
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
mtrr: your CPUs had inconsistent variable MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 0400-047f claimed by ICH6 ACPI/GPIO/TCO
PCI quirk: region 0480-04bf claimed by ICH6 GPIO
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 12 14 *15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 *4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 9 10 11 12 *14 15)
ACPI: PCI Interrupt Link [LNK1] (IRQs *3 4 5 6 7 9 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
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: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
PCI-GART: No AMD northbridge found.
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 64-bit timers, 14318180 Hz
pnp: 00:09: ioport range 0x400-0x4bf could not be reserved
pnp: 00:0a: iomem range 0xd0000000-0xdfffffff could not be reserved
pnp: 00:0b: iomem range 0xce000-0xcffff has been reserved
pnp: 00:0b: iomem range 0xf0000-0xf7fff could not be reserved
pnp: 00:0b: iomem range 0xf8000-0xfbfff could not be reserved
Time: tsc clocksource has been installed.
pnp: 00:0b: iomem range 0xfc000-0xfffff could not be reserved
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bridge: 0000:00:1c.0
  IO window: 7000-7fff
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.3
  IO window: 8000-9fff
  MEM window: f4100000-f41fffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.4
  IO window: a000-afff
  MEM window: f0000000-f1ffffff
  PREFETCH window: f4300000-f43fffff
PCI: Bridge: 0000:00:1e.0
  IO window: b000-bfff
  MEM window: f2000000-f3ffffff
  PREFETCH window: f4400000-f44fffff
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19
ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 16 (level, low) -> IRQ 16
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 65536 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 9, 3670016 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 3956k freed
audit: initializing netlink socket (disabled)
audit(1177621309.827:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
- Added public key 73CCE72D1E09A933
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
assign_interrupt_mode Found MSI capability
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: framebuffer at 0xe0000000, mapped to 0xffffc20000080000, using 3750k, total 7616k
vesafb: mode is 800x600x32, linelength=3200, pages=2
vesafb: scrolling: redraw
vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
ACPI: Processor [CPU0] (supports 2 throttling states)
ACPI: SSDT CF6E8A00, 0087 (r1  PmRef  Cpu1Ist     3000 INTL 20040311)
ACPI: Processor [CPU1] (supports 2 throttling states)
ACPI Exception (processor_core-0783): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0783): AE_NOT_FOUND, Processor Device is not present [20070126]
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected an Intel 965G Chipset.
agpgart: Detected 7676K stolen memory.
agpgart: AGP aperture is 256M @ 0xe0000000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
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
input: AT Translated Set 2 keyboard as /class/input/input1
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 332k freed
Write protecting the kernel read-only data: 1058k
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000c400
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1a.1: irq 21, io base 0x0000d400
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000c800
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-1: new full speed USB device using uhci_hcd and address 2
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000cc00
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d000
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 1-1: configuration #1 chosen from 1 choice
libusual: modprobe for usb-storage succeeded, but module is not present
input: ImExPS/2 Generic Explorer Mouse as /class/input/input2
ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 6
ehci_hcd 0000:00:1a.7: irq 18, io mem 0xf4205000
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 4 ports detected
usb 3-2: new low speed USB device using uhci_hcd and address 2
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 7
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf4204000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 6 ports detected
raid5: automatically using best checksumming function: generic_sse
   generic_sse:  8760.000 MB/sec
raid5: using function: generic_sse (8760.000 MB/sec)
raid6: int64x1   2046 MB/s
raid6: int64x2   2527 MB/s
raid6: int64x4   1902 MB/s
raid6: int64x8   1859 MB/s
raid6: sse2x1    4164 MB/s
raid6: sse2x2    4230 MB/s
raid6: sse2x4    7117 MB/s
raid6: using algorithm sse2x4 (7117 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
SCSI subsystem initialized
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
usb 3-2: device not accepting address 2, error -71
usb 6-1: new high speed USB device using ehci_hcd and address 2
usb 6-1: configuration #1 chosen from 1 choice
usb 1-1: USB disconnect, address 2
libusual: modprobe for usb-storage succeeded, but module is not present
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0x33 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq stag pm led clo pio slum part 
ata1: SATA max UDMA/133 cmd 0xffffc2000002e100 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata2: SATA max UDMA/133 cmd 0xffffc2000002e180 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata3: DUMMY
ata4: DUMMY
ata5: SATA max UDMA/133 cmd 0xffffc2000002e300 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata6: SATA max UDMA/133 cmd 0xffffc2000002e380 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
scsi0 : ahci
usb 3-2: new low speed USB device using uhci_hcd and address 4
usb 3-2: configuration #1 chosen from 1 choice
input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as /class/input/input3
input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.0-2
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ata_hpa_resize 1: sectors = 390719855, hpa_sectors = 390721968
ata1.00: Host Protected Area detected:
	current size: 390719855 sectors
	native size: 390721968 sectors
ata1.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
ata1.00: 390719855 sectors, multi 0: LBA48 
ata1.00: ata_hpa_resize 1: sectors = 390719855, hpa_sectors = 390721968
ata1.00: Host Protected Area detected:
	current size: 390719855 sectors
	native size: 390721968 sectors
ata1.00: configured for UDMA/133
scsi1 : ahci
usb 5-2: new low speed USB device using uhci_hcd and address 2
usb 5-2: configuration #1 chosen from 1 choice
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ata_hpa_resize 1: sectors = 390721968, hpa_sectors = 390721968
ata2.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
ata2.00: 390721968 sectors, multi 0: LBA48 
ata2.00: ata_hpa_resize 1: sectors = 390721968, hpa_sectors = 390721968
ata2.00: configured for UDMA/133
scsi2 : ahci
scsi3 : ahci
scsi4 : ahci
hiddev96: USB HID v1.11 Device [Belkin  UPS] on usb-0000:00:1d.2-2
ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata5.00: ata_hpa_resize 1: sectors = 390721968, hpa_sectors = 390721968
ata5.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
ata5.00: 390721968 sectors, multi 0: LBA48 
ata5.00: ata_hpa_resize 1: sectors = 390721968, hpa_sectors = 390721968
ata5.00: configured for UDMA/133
scsi5 : ahci
ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata6.00: ata_hpa_resize 1: sectors = 390721968, hpa_sectors = 390721968
ata6.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
ata6.00: 390721968 sectors, multi 0: LBA48 
ata6.00: ata_hpa_resize 1: sectors = 390721968, hpa_sectors = 390721968
ata6.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      ST3200822AS      3.01 PQ: 0 ANSI: 5
SCSI device sda: 390719855 512-byte hdwr sectors (200049 MB)
sda: Write Protect is off
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sda: 390719855 512-byte hdwr sectors (200049 MB)
sda: Write Protect is off
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
scsi 1:0:0:0: Direct-Access     ATA      ST3200822AS      3.01 PQ: 0 ANSI: 5
SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
sdb: Write Protect is off
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
sdb: Write Protect is off
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1 sdb2
sd 1:0:0:0: Attached scsi disk sdb
scsi 4:0:0:0: Direct-Access     ATA      ST3200822AS      3.01 PQ: 0 ANSI: 5
SCSI device sdc: 390721968 512-byte hdwr sectors (200050 MB)
sdc: Write Protect is off
SCSI device sdc: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdc: 390721968 512-byte hdwr sectors (200050 MB)
sdc: Write Protect is off
SCSI device sdc: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc1 sdc2
sd 4:0:0:0: Attached scsi disk sdc
scsi 5:0:0:0: Direct-Access     ATA      ST3200822AS      3.01 PQ: 0 ANSI: 5
SCSI device sdd: 390721968 512-byte hdwr sectors (200050 MB)
sdd: Write Protect is off
SCSI device sdd: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdd: 390721968 512-byte hdwr sectors (200050 MB)
sdd: Write Protect is off
SCSI device sdd: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdd: sdd1 sdd2
sd 5:0:0:0: Attached scsi disk sdd
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 19 (level, low) -> IRQ 19
ahci 0000:02:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:02:00.0: flags: 64bit ncq pm led clo pmp pio slum part 
ata7: SATA max UDMA/133 cmd 0xffffc20000030100 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
ata8: SATA max UDMA/133 cmd 0xffffc20000030180 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 19
scsi6 : ahci
ata7: SATA link down (SStatus 0 SControl 300)
scsi7 : ahci
ata8: SATA link down (SStatus 0 SControl 300)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
md: Autodetecting RAID arrays.
md: autorun ...
md: considering sdd2 ...
md:  adding sdd2 ...
md: sdd1 has different UUID to sdd2
md:  adding sdc2 ...
md: sdc1 has different UUID to sdd2
md:  adding sdb2 ...
md: sdb1 has different UUID to sdd2
md:  adding sda2 ...
md: sda1 has different UUID to sdd2
md: created md1
md: bind<sda2>
md: bind<sdb2>
md: bind<sdc2>
md: bind<sdd2>
md: running: <sdd2><sdc2><sdb2><sda2>
raid5: device sdd2 operational as raid disk 1
raid5: device sdc2 operational as raid disk 0
raid5: device sdb2 operational as raid disk 3
raid5: device sda2 operational as raid disk 2
raid5: allocated 4274kB for md1
raid5: raid level 5 set md1 active with 4 out of 4 devices, algorithm 2
RAID5 conf printout:
 --- rd:4 wd:4
 disk 0, o:1, dev:sdc2
 disk 1, o:1, dev:sdd2
 disk 2, o:1, dev:sda2
 disk 3, o:1, dev:sdb2
md: considering sdd1 ...
md:  adding sdd1 ...
md:  adding sdc1 ...
md:  adding sdb1 ...
md:  adding sda1 ...
md: created md0
md: bind<sda1>
md: bind<sdb1>
md: bind<sdc1>
md: bind<sdd1>
md: running: <sdd1><sdc1><sdb1><sda1>
md: personality for level 1 is not loaded!
md: do_md_run() returned -22
md: md0 stopped.
md: unbind<sdd1>
md: export_rdev(sdd1)
md: unbind<sdc1>
md: export_rdev(sdc1)
md: unbind<sdb1>
md: export_rdev(sdb1)
md: unbind<sda1>
md: export_rdev(sda1)
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
audit(1177621329.020:2): enforcing=1 old_enforcing=0 auid=4294967295
audit(1177621329.356:3): policy loaded auid=4294967295
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc_cmos: probe of 00:03 failed with error -16
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
ACPI: PCI Interrupt 0000:04:02.0[A] -> GSI 18 (level, low) -> IRQ 18
eth0: RTL8169s/8110s at 0xffffc20000034000, 00:17:3f:0b:0e:12, IRQ 18
iTCO_vendor_support: vendor-support=0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.01 (21-Jan-2007)
iTCO_wdt: Found a ICH8 or ICH8R TCO device (Version=2, TCOBASE=0x0460)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
PCI: Enabling device 0000:02:00.1 (0000 -> 0001)
ACPI: PCI Interrupt 0000:02:00.1[B] -> GSI 16 (level, low) -> IRQ 16
ata9: PATA max UDMA/100 cmd 0x0000000000018000 ctl 0x0000000000018402 bmdma 0x0000000000019000 irq 16
ata10: PATA max UDMA/100 cmd 0x0000000000018800 ctl 0x0000000000018c02 bmdma 0x0000000000019008 irq 16
scsi8 : pata_jmicron
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 4:0:0:0: Attached scsi generic sg2 type 0
sd 5:0:0:0: Attached scsi generic sg3 type 0
saa7146: register extension 'budget_ci dvb'.
ata9.01: ATAPI, max UDMA/33
ata9.01: configured for UDMA/33
scsi9 : pata_jmicron
audit(1177621335.173:4): avc:  denied  { getattr } for  pid=1468 comm="pam_console_app" name="event2" dev=tmpfs ino=7067 scontext=system_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:event_device_t:s0 tclass=chr_file
ATA: abnormal status 0x7F on port 0x0000000000018807
scsi 8:0:1:0: CD-ROM            _NEC     DVD_RW ND-4570A  1.02 PQ: 0 ANSI: 5
scsi 8:0:1:0: Attached scsi generic sg4 type 5
ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 20 (level, low) -> IRQ 20
saa7146: found saa7146 @ mem ffffc20000042000 (revision 1, irq 20) (0x13c2,0x1011).
saa7146 (0): dma buffer size 192512
DVB: registering new adapter (TT-Budget/WinTV-NOVA-T	 PCI).
adapter has MAC addr = 00:d0:5c:22:22:b4
input: Budget-CI dvb ir receiver saa7146 (0) as /class/input/input4
DVB: registering frontend 0 (Philips TDA10045H DVB-T)...
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
floppy0: no floppy controllers found
lp0: using parport0 (interrupt-driven).
lp0: console ready
No dock devices found.
input: Power Button (FF) as /class/input/input5
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input6
ACPI: Power Button (CM) [PWRB]
ibm_acpi: ec object not found
md: Autodetecting RAID arrays.
md: autorun ...
md: considering sda1 ...
md:  adding sda1 ...
md:  adding sdb1 ...
md:  adding sdc1 ...
md:  adding sdd1 ...
md: created md0
md: bind<sdd1>
md: bind<sdc1>
md: bind<sdb1>
md: bind<sda1>
md: running: <sda1><sdb1><sdc1><sdd1>
md: raid1 personality registered for level 1
raid1: raid set md0 active with 4 out of 4 mirrors
md: ... autorun DONE.
loop: loaded (max 32 devices)
EXT3 FS on dm-0, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
audit(1177621344.659:5): avc:  denied  { getattr } for  pid=2385 comm="pam_console_app" name="event2" dev=tmpfs ino=7067 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:event_device_t:s0 tclass=chr_file
Adding 2097144k swap on /dev/VolGroup00/LogVol03.  Priority:-1 extents:1 across:2097144k
Adding 4194296k swap on /store/video0/swap4g.  Priority:-2 extents:1070 across:29496840k
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Mobile IPv6
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
usbcore: registered new interface driver zd1211rw
r8169: eth1: link up
r8169: eth1: link up
audit(1177621359.878:6): audit_pid=3122 old=0 by auid=4294967295 subj=system_u:system_r:auditd_t:s0
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
it87: Found IT8718F chip at 0x290, revision 2
it87: in3 is VCC (+5V)
7]: kernel time sync status 0040
saa7146: unregister extension 'budget_ci dvb'.
ACPI: PCI interrupt for device 0000:04:00.0 disabled
saa7146: register extension 'budget_ci dvb'.
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 20 (level, low) -> IRQ 20
saa7146: found saa7146 @ mem ffffc20000042000 (revision 1, irq 20) (0x13c2,0x1011).
saa7146 (0): dma buffer size 192512
DVB: registering new adapter (TT-Budget/WinTV-NOVA-T	 PCI).
adapter has MAC addr = 00:d0:5c:22:22:b4
input: Budget-CI dvb ir receiver saa7146 (0) as /class/input/input7
DVB: registering frontend 0 (Philips TDA10045H DVB-T)...
tda1004x: found firmware revision 0 -- invalid
tda1004x: waiting for firmware upload (dvb-fe-tda10045.fw)...
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
tda1004x: firmware upload complete
tda1004x: found firmware revision 2c -- ok
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized i915 1.6.0 20060119 on minor 0
NET: Registered protocol family 4
NET: Registered protocol family 5
saa7146: unregister extension 'budget_ci dvb'.
ACPI: PCI interrupt for device 0000:04:00.0 disabled
saa7146: register extension 'budget_ci dvb'.
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 20 (level, low) -> IRQ 20
saa7146: found saa7146 @ mem ffffc20000042000 (revision 1, irq 20) (0x13c2,0x1011).
saa7146 (0): dma buffer size 192512
DVB: registering new adapter (TT-Budget/WinTV-NOVA-T	 PCI).
adapter has MAC addr = 00:d0:5c:22:22:b4
input: Budget-CI dvb ir receiver saa7146 (0) as /class/input/input8
DVB: registering frontend 0 (Philips TDA10045H DVB-T)...
tda1004x: found firmware revision 0 -- invalid
tda1004x: waiting for firmware upload (dvb-fe-tda10045.fw)...
tda1004x: firmware upload complete
tda1004x: found firmware revision 2c -- ok
saa7146: unregister extension 'budget_ci dvb'.
ACPI: PCI interrupt for device 0000:04:00.0 disabled
saa7146: register extension 'budget_ci dvb'.
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 20 (level, low) -> IRQ 20
saa7146: found saa7146 @ mem ffffc20000042000 (revision 1, irq 20) (0x13c2,0x1011).
saa7146 (0): dma buffer size 192512
DVB: registering new adapter (TT-Budget/WinTV-NOVA-T	 PCI).
adapter has MAC addr = 00:d0:5c:22:22:b4
input: Budget-CI dvb ir receiver saa7146 (0) as /class/input/input9
DVB: registering frontend 0 (Philips TDA10045H DVB-T)...
tda1004x: found firmware revision 0 -- invalid
tda1004x: waiting for firmware upload (dvb-fe-tda10045.fw)...
tda1004x: firmware upload complete
tda1004x: found firmware revision 2c -- ok

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [linux-dvb] Re: More than 2Gb problem (dvb related) ?
  2007-04-27 22:00   ` [linux-dvb] " Jon Burgess
@ 2007-04-27 22:06     ` Lee Revell
  2007-04-27 22:37       ` Jon Burgess
  2007-04-28 17:17       ` [PATCH] " Jon Burgess
  0 siblings, 2 replies; 20+ messages in thread
From: Lee Revell @ 2007-04-27 22:06 UTC (permalink / raw)
  To: Jon Burgess; +Cc: Markus Rechberger, Gregoire Favre, linux-dvb, linux-kernel

On 4/27/07, Jon Burgess <jburgess777@googlemail.com> wrote:
> Interesting - I see similar symptoms after upgrading my PC:
> * old PC was AMD Athlon 64 3000 w/ 2GB of RAM which had no issues
> * new PC is a Intel Core 2 Duo w/ 4GB of RAM and fails in the way you
> describe.

Driver using an incorrect DMA mask?

Lee

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [linux-dvb] Re: More than 2Gb problem (dvb related) ?
  2007-04-27 22:06     ` Lee Revell
@ 2007-04-27 22:37       ` Jon Burgess
  2007-04-28 17:17       ` [PATCH] " Jon Burgess
  1 sibling, 0 replies; 20+ messages in thread
From: Jon Burgess @ 2007-04-27 22:37 UTC (permalink / raw)
  To: Lee Revell; +Cc: Markus Rechberger, Gregoire Favre, linux-dvb, linux-kernel

On Fri, 2007-04-27 at 18:06 -0400, Lee Revell wrote:
> On 4/27/07, Jon Burgess <jburgess777@googlemail.com> wrote:
> > Interesting - I see similar symptoms after upgrading my PC:
> > * old PC was AMD Athlon 64 3000 w/ 2GB of RAM which had no issues
> > * new PC is a Intel Core 2 Duo w/ 4GB of RAM and fails in the way you
> > describe.
> 
> Driver using an incorrect DMA mask?
> 
> Lee

It does not set one explicitly and the docs suggest the default is
32bit. Adding an explicit "pci_set_dma_mask(dev->pci, DMA_24BIT_MASK)"
does not seem to make a difference. Mind you, the driver builds its own
S-G DMA table in saa7146_vmalloc_build_pgtable() and i'm not certain
whether this might bypass this setting.

	Jon





^ permalink raw reply	[flat|nested] 20+ messages in thread

* [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-27 22:06     ` Lee Revell
  2007-04-27 22:37       ` Jon Burgess
@ 2007-04-28 17:17       ` Jon Burgess
  2007-04-28 20:14         ` Jon Burgess
  2007-05-01 15:58         ` [linux-dvb] " Oliver Endriss
  1 sibling, 2 replies; 20+ messages in thread
From: Jon Burgess @ 2007-04-28 17:17 UTC (permalink / raw)
  To: linux-dvb, v4l-dvb-maintainer
  Cc: Markus Rechberger, Gregoire Favre, linux-kernel, Lee Revell

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

On Fri, 2007-04-27 at 18:06 -0400, Lee Revell wrote:
> On 4/27/07, Jon Burgess <jburgess777@googlemail.com> wrote:
> > Interesting - I see similar symptoms after upgrading my PC:
> > * old PC was AMD Athlon 64 3000 w/ 2GB of RAM which had no issues
> > * new PC is a Intel Core 2 Duo w/ 4GB of RAM and fails in the way you
> > describe.
> 
> Driver using an incorrect DMA mask?
> 
> Lee

It appears the problem is that the driver is using streamed PCI and
needs to explicitly sync the data otherwise it breaks when the SWIOTLB
is in use. A call to pci_unmap_sg() was missing too.

This patch is against the current v4l-dvb HG tree.

I've only tested the change with a budget-ci card.

	Jon

Signed-off-by: Jon Burgess <jburgess777@googlemail.com>

[-- Attachment #2: dvb-dma-sync.patch --]
[-- Type: text/x-patch, Size: 2416 bytes --]

diff -r a8b2a0738f4e linux/drivers/media/common/saa7146_core.c
--- a/linux/drivers/media/common/saa7146_core.c	Thu Apr 19 17:07:37 2007 -0300
+++ b/linux/drivers/media/common/saa7146_core.c	Sat Apr 28 17:44:38 2007 +0100
@@ -152,6 +152,7 @@ char *saa7146_vmalloc_build_pgtable(stru
 		return NULL;
 	}
 
+	pt->nents = pages;
 	slen = pci_map_sg(pci,pt->slist,pages,PCI_DMA_FROMDEVICE);
 	if (0 != saa7146_pgtable_build_single(pci, pt, pt->slist, slen)) {
 		return NULL;
@@ -165,6 +166,7 @@ void saa7146_pgtable_free(struct pci_dev
 	if (NULL == pt->cpu)
 		return;
 	pci_free_consistent(pci, pt->size, pt->cpu, pt->dma);
+	pci_unmap_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE);
 	pt->cpu = NULL;
 	kfree(pt->slist);
 	pt->slist = NULL;
diff -r a8b2a0738f4e linux/drivers/media/dvb/ttpci/av7110.c
--- a/linux/drivers/media/dvb/ttpci/av7110.c	Thu Apr 19 17:07:37 2007 -0300
+++ b/linux/drivers/media/dvb/ttpci/av7110.c	Sat Apr 28 17:10:38 2007 +0100
@@ -1246,6 +1246,9 @@ static void vpeirq(unsigned long data)
 	if (!budget->feeding1 || (newdma == olddma))
 		return;
 
+	/* Ensure streamed PCI data is synced to CPU */
+	pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE);
+	
 #if 0 /* keep */
 	/* track rps1 activity */
 	printk("vpeirq: %02x Event Counter 1 0x%04x\n",
diff -r a8b2a0738f4e linux/drivers/media/dvb/ttpci/budget-core.c
--- a/linux/drivers/media/dvb/ttpci/budget-core.c	Thu Apr 19 17:07:37 2007 -0300
+++ b/linux/drivers/media/dvb/ttpci/budget-core.c	Sat Apr 28 17:09:13 2007 +0100
@@ -184,6 +184,9 @@ static void vpeirq(unsigned long data)
 	if (budget->feeding == 0 || newdma == olddma)
 		return;
 
+	/* Ensure streamed PCI data is synced to CPU */
+	pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE);
+	
 	if (newdma > olddma) {	/* no wraparound, dump olddma..newdma */
 		count = newdma - olddma;
 		dvb_dmx_swfilter_packets(&budget->demux, mem + olddma, count / 188);
diff -r a8b2a0738f4e linux/include/media/saa7146.h
--- a/linux/include/media/saa7146.h	Thu Apr 19 17:07:37 2007 -0300
+++ b/linux/include/media/saa7146.h	Sat Apr 28 17:27:36 2007 +0100
@@ -70,6 +70,7 @@ struct saa7146_pgtable {
 	unsigned long	offset;
 	/* used for custom pagetables (used for example by budget dvb cards) */
 	struct scatterlist *slist;
+	int             nents;
 };
 
 struct saa7146_pci_extension_data {

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-28 17:17       ` [PATCH] " Jon Burgess
@ 2007-04-28 20:14         ` Jon Burgess
  2007-04-29 14:07           ` Gregoire Favre
                             ` (2 more replies)
  2007-05-01 15:58         ` [linux-dvb] " Oliver Endriss
  1 sibling, 3 replies; 20+ messages in thread
From: Jon Burgess @ 2007-04-28 20:14 UTC (permalink / raw)
  To: linux-dvb
  Cc: v4l-dvb-maintainer, Markus Rechberger, Gregoire Favre,
	linux-kernel, Lee Revell

[-- Attachment #1: Type: text/plain, Size: 1564 bytes --]

On Sat, 2007-04-28 at 18:17 +0100, Jon Burgess wrote:
> On Fri, 2007-04-27 at 18:06 -0400, Lee Revell wrote:
> > On 4/27/07, Jon Burgess <jburgess777@googlemail.com> wrote:
> > > Interesting - I see similar symptoms after upgrading my PC:
> > > * old PC was AMD Athlon 64 3000 w/ 2GB of RAM which had no issues
> > > * new PC is a Intel Core 2 Duo w/ 4GB of RAM and fails in the way you
> > > describe.
> > 
> > Driver using an incorrect DMA mask?
> > 
> > Lee
> 
> It appears the problem is that the driver is using streamed PCI and
> needs to explicitly sync the data otherwise it breaks when the SWIOTLB
> is in use. A call to pci_unmap_sg() was missing too.
> 
> This patch is against the current v4l-dvb HG tree.
> 
> I've only tested the change with a budget-ci card.
> 
> 	Jon
> 
> Signed-off-by: Jon Burgess <jburgess777@googlemail.com>

While the above patch works, it seems the underlying causes is that
vmalloc_32() is providing memory above 4Gb on x86-64 which is not what
the driver expects. This same issue came up a few weeks ago with regards
to DRM on radeon http://lkml.org/lkml/2007/4/1/257

Andi Kleen included a patch to ensure vmalloc_32() returns memory <4Gb
in a patch which is currently in -mm
 http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/x86_64-mm-vmalloc-32.patch

With this patch applied the current driver appears to work OK. 

Attached is a smaller patch against v4l-dvb which just adds the missing
pci_unmap_sg() call.

	Jon

Signed-off-by: Jon Burgess <jburgess777@googlemail.com>

[-- Attachment #2: dvb-pci-unmap-sg.patch --]
[-- Type: text/x-patch, Size: 1166 bytes --]

diff -r a8b2a0738f4e linux/drivers/media/common/saa7146_core.c
--- a/linux/drivers/media/common/saa7146_core.c	Thu Apr 19 17:07:37 2007 -0300
+++ b/linux/drivers/media/common/saa7146_core.c	Sat Apr 28 20:55:30 2007 +0100
@@ -152,6 +152,7 @@ char *saa7146_vmalloc_build_pgtable(stru
 		return NULL;
 	}
 
+	pt->nents = pages;
 	slen = pci_map_sg(pci,pt->slist,pages,PCI_DMA_FROMDEVICE);
 	if (0 != saa7146_pgtable_build_single(pci, pt, pt->slist, slen)) {
 		return NULL;
@@ -165,6 +166,7 @@ void saa7146_pgtable_free(struct pci_dev
 	if (NULL == pt->cpu)
 		return;
 	pci_free_consistent(pci, pt->size, pt->cpu, pt->dma);
+	pci_unmap_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE);
 	pt->cpu = NULL;
 	kfree(pt->slist);
 	pt->slist = NULL;
diff -r a8b2a0738f4e linux/include/media/saa7146.h
--- a/linux/include/media/saa7146.h	Thu Apr 19 17:07:37 2007 -0300
+++ b/linux/include/media/saa7146.h	Sat Apr 28 18:06:47 2007 +0100
@@ -70,6 +70,7 @@ struct saa7146_pgtable {
 	unsigned long	offset;
 	/* used for custom pagetables (used for example by budget dvb cards) */
 	struct scatterlist *slist;
+	int             nents;
 };
 
 struct saa7146_pci_extension_data {

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-28 20:14         ` Jon Burgess
@ 2007-04-29 14:07           ` Gregoire Favre
  2007-04-30  0:22           ` [linux-dvb] " Oliver Endriss
  2007-04-30 16:52           ` Gregoire Favre
  2 siblings, 0 replies; 20+ messages in thread
From: Gregoire Favre @ 2007-04-29 14:07 UTC (permalink / raw)
  To: Jon Burgess
  Cc: linux-dvb, v4l-dvb-maintainer, Markus Rechberger, linux-kernel,
	Lee Revell

On Sat, Apr 28, 2007 at 09:14:37PM +0100, Jon Burgess wrote:

> While the above patch works, it seems the underlying causes is that
> vmalloc_32() is providing memory above 4Gb on x86-64 which is not what
> the driver expects. This same issue came up a few weeks ago with regards
> to DRM on radeon http://lkml.org/lkml/2007/4/1/257
> 
> Andi Kleen included a patch to ensure vmalloc_32() returns memory <4Gb
> in a patch which is currently in -mm
>  http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/x86_64-mm-vmalloc-32.patch
> 
> With this patch applied the current driver appears to work OK. 
> 
> Attached is a smaller patch against v4l-dvb which just adds the missing
> pci_unmap_sg() call.
> 
> 	Jon
> 
> Signed-off-by: Jon Burgess <jburgess777@googlemail.com>

Tremendous : after a perfect weekend for paragliding a solution appear
here :-)

I hope both patch will be included very soon ;-)

And it's works perfectly, thank you very much,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [linux-dvb] Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-28 20:14         ` Jon Burgess
  2007-04-29 14:07           ` Gregoire Favre
@ 2007-04-30  0:22           ` Oliver Endriss
  2007-04-30 16:52           ` Gregoire Favre
  2 siblings, 0 replies; 20+ messages in thread
From: Oliver Endriss @ 2007-04-30  0:22 UTC (permalink / raw)
  To: linux-dvb
  Cc: Jon Burgess, linux-kernel, v4l-dvb-maintainer, Lee Revell,
	Gregoire Favre

[-- Attachment #1: Type: text/plain, Size: 2234 bytes --]

Jon Burgess wrote:
> On Sat, 2007-04-28 at 18:17 +0100, Jon Burgess wrote:
> > On Fri, 2007-04-27 at 18:06 -0400, Lee Revell wrote:
> > > On 4/27/07, Jon Burgess <jburgess777@googlemail.com> wrote:
> > > > Interesting - I see similar symptoms after upgrading my PC:
> > > > * old PC was AMD Athlon 64 3000 w/ 2GB of RAM which had no issues
> > > > * new PC is a Intel Core 2 Duo w/ 4GB of RAM and fails in the way you
> > > > describe.
> > > 
> > > Driver using an incorrect DMA mask?
> > > 
> > > Lee
> > 
> > It appears the problem is that the driver is using streamed PCI and
> > needs to explicitly sync the data otherwise it breaks when the SWIOTLB
> > is in use. A call to pci_unmap_sg() was missing too.
> > 
> > This patch is against the current v4l-dvb HG tree.
> > 
> > I've only tested the change with a budget-ci card.
> > 
> > 	Jon
> > 
> > Signed-off-by: Jon Burgess <jburgess777@googlemail.com>
> 
> While the above patch works, it seems the underlying causes is that
> vmalloc_32() is providing memory above 4Gb on x86-64 which is not what
> the driver expects. This same issue came up a few weeks ago with regards
> to DRM on radeon http://lkml.org/lkml/2007/4/1/257
> 
> Andi Kleen included a patch to ensure vmalloc_32() returns memory <4Gb
> in a patch which is currently in -mm
>  http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/x86_64-mm-vmalloc-32.patch
> 
> With this patch applied the current driver appears to work OK. 
> 
> Attached is a smaller patch against v4l-dvb which just adds the missing
> pci_unmap_sg() call.

Imo your patch is correct and should be applied.
Any objections?

After digging through the code, kernel DMA docs and the saa7146
datasheet, I think that we should remove the scatter-gatter voodoo
from the budget and av7110 driver. ;-)

What about the attached patch?
- easy to understand and maintain
- saves 1 page of memory (page table of the SAA7146 MMU)
- saves PCI bandwidth (SAA7146 does not read page table anymore)

Comments?

CU
Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin 0.3.9 available at
http://www.escape-edv.de/endriss/vdr/
-------------------------------------------------------

[-- Attachment #2: budget_dmabuf_simple.diff --]
[-- Type: text/x-diff, Size: 3638 bytes --]

diff -r e9e1b86b7892 linux/drivers/media/dvb/ttpci/budget-core.c
--- a/linux/drivers/media/dvb/ttpci/budget-core.c	Mon Apr 23 07:41:13 2007 +0200
+++ b/linux/drivers/media/dvb/ttpci/budget-core.c	Mon Apr 30 01:29:42 2007 +0200
@@ -74,6 +74,7 @@ static int start_ts_capture(struct budge
 static int start_ts_capture(struct budget *budget)
 {
 	struct saa7146_dev *dev = budget->dev;
+	u32 dma_base = (u32) budget->dma;
 
 	dprintk(2, "budget: %p\n", budget);
 
@@ -137,16 +138,16 @@ static int start_ts_capture(struct budge
 	saa7146_write(dev, MC2, (MASK_08 | MASK_24));
 	mdelay(10);
 
-	saa7146_write(dev, BASE_ODD3, 0);
+	saa7146_write(dev, BASE_ODD3, dma_base);
 	if (budget->buffer_size > budget->buffer_height * budget->buffer_width) {
 		// using odd/even buffers
-		saa7146_write(dev, BASE_EVEN3, budget->buffer_height * budget->buffer_width);
+		saa7146_write(dev, BASE_EVEN3, dma_base + budget->buffer_height * budget->buffer_width);
 	} else {
 		// using a single buffer
-		saa7146_write(dev, BASE_EVEN3, 0);
-	}
-	saa7146_write(dev, PROT_ADDR3, budget->buffer_size);
-	saa7146_write(dev, BASE_PAGE3, budget->pt.dma | ME1 | 0x90);
+		saa7146_write(dev, BASE_EVEN3, dma_base);
+	}
+	saa7146_write(dev, PROT_ADDR3, dma_base + budget->buffer_size);
+	saa7146_write(dev, BASE_PAGE3, 0x90);
 
 	saa7146_write(dev, PITCH3, budget->buffer_width);
 	saa7146_write(dev, NUM_LINE_BYTE3,
@@ -190,9 +191,9 @@ static void vpeirq(unsigned long data)
 static void vpeirq(unsigned long data)
 {
 	struct budget *budget = (struct budget *) data;
-	u8 *mem = (u8 *) (budget->grabbing);
+	u8 *mem = budget->grabbing;
 	u32 olddma = budget->ttbp;
-	u32 newdma = saa7146_read(budget->dev, PCI_VDP3);
+	u32 newdma = saa7146_read(budget->dev, PCI_VDP3) - (u32) budget->dma;
 	u32 count;
 
 	/* nearest lower position divisible by 188 */
@@ -510,8 +511,9 @@ int ttpci_budget_init(struct budget *bud
 
 	ttpci_eeprom_parse_mac(&budget->i2c_adap, budget->dvb_adapter.proposed_mac);
 
-	if (NULL ==
-	    (budget->grabbing = saa7146_vmalloc_build_pgtable(dev->pci, budget->buffer_size, &budget->pt))) {
+	budget->grabbing = pci_alloc_consistent(dev->pci, budget->buffer_size,
+						&budget->dma);
+	if (NULL == budget->grabbing) {
 		ret = -ENOMEM;
 		goto err;
 	}
@@ -526,13 +528,15 @@ int ttpci_budget_init(struct budget *bud
 	if (bi->type != BUDGET_FS_ACTIVY)
 		saa7146_setgpio(dev, 2, SAA7146_GPIO_OUTHI);
 
-	if (budget_register(budget) == 0) {
+	if (budget_register(budget) == 0)
 		return 0;
-	}
+
 err:
 	i2c_del_adapter(&budget->i2c_adap);
 
-	vfree(budget->grabbing);
+	if (budget->grabbing)	
+		pci_free_consistent(dev->pci, budget->buffer_size,
+				    budget->grabbing, budget->dma);
 
 	dvb_unregister_adapter(&budget->dvb_adapter);
 
@@ -561,9 +565,8 @@ int ttpci_budget_deinit(struct budget *b
 
 	tasklet_kill(&budget->vpe_tasklet);
 
-	saa7146_pgtable_free(dev->pci, &budget->pt);
-
-	vfree(budget->grabbing);
+	pci_free_consistent(dev->pci, budget->buffer_size,
+			    budget->grabbing, budget->dma);
 
 	return 0;
 }
diff -r e9e1b86b7892 linux/drivers/media/dvb/ttpci/budget.h
--- a/linux/drivers/media/dvb/ttpci/budget.h	Mon Apr 23 07:41:13 2007 +0200
+++ b/linux/drivers/media/dvb/ttpci/budget.h	Mon Apr 30 01:32:53 2007 +0200
@@ -48,9 +48,6 @@ struct budget {
 	struct i2c_adapter i2c_adap;
 	struct budget_info *card;
 
-	unsigned char *grabbing;
-	struct saa7146_pgtable pt;
-
 	struct tasklet_struct fidb_tasklet;
 	struct tasklet_struct vpe_tasklet;
 
@@ -63,6 +60,8 @@ struct budget {
 	int ci_present;
 	int video_port;
 
+	void *grabbing;
+	dma_addr_t dma;
 	u32 buffer_width;
 	u32 buffer_height;
 	u32 buffer_size;

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-28 20:14         ` Jon Burgess
  2007-04-29 14:07           ` Gregoire Favre
  2007-04-30  0:22           ` [linux-dvb] " Oliver Endriss
@ 2007-04-30 16:52           ` Gregoire Favre
  2007-04-30 18:05             ` Jon Burgess
  2 siblings, 1 reply; 20+ messages in thread
From: Gregoire Favre @ 2007-04-30 16:52 UTC (permalink / raw)
  To: Jon Burgess
  Cc: linux-dvb, v4l-dvb-maintainer, Markus Rechberger, linux-kernel,
	Lee Revell

On Sat, Apr 28, 2007 at 09:14:37PM +0100, Jon Burgess wrote:

> While the above patch works, it seems the underlying causes is that
> vmalloc_32() is providing memory above 4Gb on x86-64 which is not what
> the driver expects. This same issue came up a few weeks ago with regards
> to DRM on radeon http://lkml.org/lkml/2007/4/1/257
> 
> Andi Kleen included a patch to ensure vmalloc_32() returns memory <4Gb
> in a patch which is currently in -mm
>  http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/x86_64-mm-vmalloc-32.patch
> 
> With this patch applied the current driver appears to work OK. 
> 
> Attached is a smaller patch against v4l-dvb which just adds the missing
> pci_unmap_sg() call.

I was using 2.6.20.1 with the x86_64-mm-vmalloc-32.patch and you small
patch : working but not perftctly stable.

So I compiled 2.6.21-rc7-mm2 and at boot I got a problem :

ksymoops dmesg-2.6.21-rc7-mm2-4Gb.txt 
ksymoops 2.4.11 on x86_64 2.6.21-rc7-mm2.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.6.21-rc7-mm2/ (default)
     -m /usr/src/linux/System.map (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Error (regular_file): read_ksyms stat /proc/ksyms failed
ksymoops: No such file or directory
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
SGI XFS with large block/inode numbers, no debug enabled
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1d.7: debug port 1
kernel BUG at mm/slab.c:2766!
CPU 1 
Pid: 6616, comm: cx88[0] dvb Tainted: P       2.6.21-rc7-mm2 #1
RIP: 0010:[<ffffffff802608e5>]  [<ffffffff802608e5>] cache_alloc_refill+0x495/0x560
Using defaults from ksymoops -t elf64-x86-64 -a i386:x86-64
RSP: 0000:ffff8101045dfd50  EFLAGS: 00010002
RAX: 0000000000000000 RBX: 000000000000003c RCX: 0000000000000000
RDX: ffff81010006a400 RSI: 0000000000000004 RDI: ffff81010001c180
RBP: ffff81010006a400 R08: 00000000ffffffff R09: 0000000000000004
R10: 0000000000000020 R11: 0000000000000001 R12: ffff81010001e2c0
R13: ffff81010001c140 R14: 0000000000000000 R15: ffff81010000b000
FS:  0000000000000000(0000) GS:ffff810100027540(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00002aaab0a9ea18 CR3: 0000000000201000 CR4: 00000000000006e0
Stack:  0000000000021024 0000000000000000 ffff81010001c180 ffff810100054060
 ffffc20000000004 0000000000000286 0000000000000030 ffff810102b83140
 0000000000006000 0000000000000004 ffff81010241c0e0 ffffffff802c95b8
Call Trace:
 [<ffffffff802c95b8>] __kmalloc+0x68/0x70
 [<ffffffff802c19e7>] __vmalloc_area_node+0x157/0x1a0
 [<ffffffff880bc8a0>] :video_buf:videobuf_dma_init_kernel+0x50/0xd0
 [<ffffffff880bcdbe>] :video_buf:videobuf_iolock+0xbe/0xf0
 [<ffffffff880fc07e>] :cx8802:cx8802_buf_prepare+0xde/0x130
 [<ffffffff880bc0c7>] :video_buf:videobuf_read_start+0xc7/0x170
 [<ffffffff880c23b0>] :video_buf_dvb:videobuf_dvb_thread+0x0/0x190
 [<ffffffff880c23e9>] :video_buf_dvb:videobuf_dvb_thread+0x39/0x190
 [<ffffffff880c23b0>] :video_buf_dvb:videobuf_dvb_thread+0x0/0x190
 [<ffffffff802342eb>] kthread+0x4b/0x80
 [<ffffffff802622a8>] child_rip+0xa/0x12
 [<ffffffff802342a0>] kthread+0x0/0x80
 [<ffffffff8026229e>] child_rip+0x0/0x12
Code: 0f 0b eb fe 0f 0b eb fe 41 8b 44 24 30 a8 01 0f 84 ed fd ff 


>>RIP; ffffffff802608e5 <cache_alloc_refill+495/560>   <=====

>>RDX; ffff81010006a400 <phys_startup_64+ffff8100ffe6a400/ffffffff80000000>
>>RDI; ffff81010001c180 <phys_startup_64+ffff8100ffe1c180/ffffffff80000000>
>>RBP; ffff81010006a400 <phys_startup_64+ffff8100ffe6a400/ffffffff80000000>
>>R08; 00000000ffffffff <phys_startup_64+ffdfffff/ffffffff80000000>
>>R12; ffff81010001e2c0 <phys_startup_64+ffff8100ffe1e2c0/ffffffff80000000>
>>R13; ffff81010001c140 <phys_startup_64+ffff8100ffe1c140/ffffffff80000000>
>>R15; ffff81010000b000 <phys_startup_64+ffff8100ffe0b000/ffffffff80000000>

Trace; ffffffff802c95b8 <__kmalloc+68/70>
Trace; ffffffff802c19e7 <__vmalloc_area_node+157/1a0>
Trace; ffffffff880bc8a0 <_end+79f1b1c/7ef3527c>
Trace; ffffffff880bcdbe <_end+79f203a/7ef3527c>
Trace; ffffffff880fc07e <_end+7a312fa/7ef3527c>
Trace; ffffffff880bc0c7 <_end+79f1343/7ef3527c>
Trace; ffffffff880c23b0 <_end+79f762c/7ef3527c>
Trace; ffffffff880c23e9 <_end+79f7665/7ef3527c>
Trace; ffffffff880c23b0 <_end+79f762c/7ef3527c>
Trace; ffffffff802342eb <kthread+4b/80>
Trace; ffffffff802622a8 <child_rip+a/12>
Trace; ffffffff802342a0 <kthread+0/80>
Trace; ffffffff8026229e <child_rip+0/12>

Code;  ffffffff802608e5 <cache_alloc_refill+495/560>
0000000000000000 <_RIP>:
Code;  ffffffff802608e5 <cache_alloc_refill+495/560>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  ffffffff802608e7 <cache_alloc_refill+497/560>
   2:   eb fe                     jmp    2 <_RIP+0x2>
Code;  ffffffff802608e9 <cache_alloc_refill+499/560>
   4:   0f 0b                     ud2a   
Code;  ffffffff802608eb <cache_alloc_refill+49b/560>
   6:   eb fe                     jmp    6 <_RIP+0x6>
Code;  ffffffff802608ed <cache_alloc_refill+49d/560>
   8:   41 8b 44 24 30            mov    0x30(%r12),%eax
Code;  ffffffff802608f2 <cache_alloc_refill+4a2/560>
   d:   a8 01                     test   $0x1,%al
Code;  ffffffff802608f4 <cache_alloc_refill+4a4/560>
   f:   0f 84 ed fd ff 00         je     fffe02 <_RIP+0xfffe02>


1 warning and 1 error issued.  Results may not be reliable.

I can't compil hg source with your patch for this kernel :

make -C /lib/modules/2.6.21-rc7-mm2/build SUBDIRS=/usr/src/CVS/v4l-dvb/v4l  modules
make[1]: Entering directory `/usr/src/linux-2.6.21-rc7-mm2'
  CC [M]  /usr/src/CVS/v4l-dvb/v4l/dvb_net.o
/usr/src/CVS/v4l-dvb/v4l/dvb_net.c: In function 'dvb_net_eth_type_trans':
/usr/src/CVS/v4l-dvb/v4l/dvb_net.c:186: error: 'struct sk_buff' has no member named 'mac'
/usr/src/CVS/v4l-dvb/v4l/dvb_net.c: In function 'dvb_net_ule':
/usr/src/CVS/v4l-dvb/v4l/dvb_net.c:625: warning: cast to pointer from integer of different size
/usr/src/CVS/v4l-dvb/v4l/dvb_net.c:626: warning: cast to pointer from integer of different size
/usr/src/CVS/v4l-dvb/v4l/dvb_net.c:627: warning: cast to pointer from integer of different size
/usr/src/CVS/v4l-dvb/v4l/dvb_net.c:628: warning: cast to pointer from integer of different size
make[2]: *** [/usr/src/CVS/v4l-dvb/v4l/dvb_net.o] Error 1
make[1]: *** [_module_/usr/src/CVS/v4l-dvb/v4l] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21-rc7-mm2'
make: *** [default] Error 2

What kernel (with which patches) are you using ?

Thank,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-30 16:52           ` Gregoire Favre
@ 2007-04-30 18:05             ` Jon Burgess
  2007-05-01  9:39               ` Gregoire Favre
  2007-05-01  9:41               ` Gregoire Favre
  0 siblings, 2 replies; 20+ messages in thread
From: Jon Burgess @ 2007-04-30 18:05 UTC (permalink / raw)
  To: Gregoire Favre
  Cc: linux-dvb, v4l-dvb-maintainer, Markus Rechberger, linux-kernel,
	Lee Revell

On Mon, 2007-04-30 at 18:52 +0200, Gregoire Favre wrote:
> On Sat, Apr 28, 2007 at 09:14:37PM +0100, Jon Burgess wrote:
> 
> > While the above patch works, it seems the underlying causes is that
> > vmalloc_32() is providing memory above 4Gb on x86-64 which is not what
> > the driver expects. This same issue came up a few weeks ago with regards
> > to DRM on radeon http://lkml.org/lkml/2007/4/1/257
> > 
> > Andi Kleen included a patch to ensure vmalloc_32() returns memory <4Gb
> > in a patch which is currently in -mm
> >  http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/x86_64-mm-vmalloc-32.patch
> > 
> > With this patch applied the current driver appears to work OK. 
> > 
> > Attached is a smaller patch against v4l-dvb which just adds the missing
> > pci_unmap_sg() call.
> 
> I was using 2.6.20.1 with the x86_64-mm-vmalloc-32.patch and you small
> patch : working but not perftctly stable.
> 
> So I compiled 2.6.21-rc7-mm2 and at boot I got a problem :
> 
> ksymoops dmesg-2.6.21-rc7-mm2-4Gb.txt 
> ksymoops 2.4.11 on x86_64 2.6.21-rc7-mm2.  Options used
>      -V (default)
>      -k /proc/ksyms (default)
>      -l /proc/modules (default)
>      -o /lib/modules/2.6.21-rc7-mm2/ (default)
>      -m /usr/src/linux/System.map (default)
> 
> Warning: You did not tell me where to find symbol information.  I will
> assume that the log matches the kernel and modules that are running
> right now and I'll use the default options above for symbol resolution.
> If the current kernel and/or modules do not match the log, you can get
> more accurate output by telling me the kernel version and where to find
> map, modules, ksyms etc.  ksymoops -h explains the options.
> 
> Error (regular_file): read_ksyms stat /proc/ksyms failed
> ksymoops: No such file or directory
> No modules in ksyms, skipping objects
> No ksyms, skipping lsmod
> SGI XFS with large block/inode numbers, no debug enabled
> ehci_hcd 0000:00:1a.7: debug port 1
> ehci_hcd 0000:00:1d.7: debug port 1
> kernel BUG at mm/slab.c:2766!
> CPU 1 
> Pid: 6616, comm: cx88[0] dvb Tainted: P       2.6.21-rc7-mm2 #1
> RIP: 0010:[<ffffffff802608e5>]  [<ffffffff802608e5>] cache_alloc_refill+0x495/0x560
> Using defaults from ksymoops -t elf64-x86-64 -a i386:x86-64
> RSP: 0000:ffff8101045dfd50  EFLAGS: 00010002
> RAX: 0000000000000000 RBX: 000000000000003c RCX: 0000000000000000
> RDX: ffff81010006a400 RSI: 0000000000000004 RDI: ffff81010001c180
> RBP: ffff81010006a400 R08: 00000000ffffffff R09: 0000000000000004
> R10: 0000000000000020 R11: 0000000000000001 R12: ffff81010001e2c0
> R13: ffff81010001c140 R14: 0000000000000000 R15: ffff81010000b000
> FS:  0000000000000000(0000) GS:ffff810100027540(0000) knlGS:0000000000000000
> CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> CR2: 00002aaab0a9ea18 CR3: 0000000000201000 CR4: 00000000000006e0
> Stack:  0000000000021024 0000000000000000 ffff81010001c180 ffff810100054060
>  ffffc20000000004 0000000000000286 0000000000000030 ffff810102b83140
>  0000000000006000 0000000000000004 ffff81010241c0e0 ffffffff802c95b8
> Call Trace:
>  [<ffffffff802c95b8>] __kmalloc+0x68/0x70
>  [<ffffffff802c19e7>] __vmalloc_area_node+0x157/0x1a0
>  [<ffffffff880bc8a0>] :video_buf:videobuf_dma_init_kernel+0x50/0xd0
>  [<ffffffff880bcdbe>] :video_buf:videobuf_iolock+0xbe/0xf0
>  [<ffffffff880fc07e>] :cx8802:cx8802_buf_prepare+0xde/0x130
>  [<ffffffff880bc0c7>] :video_buf:videobuf_read_start+0xc7/0x170
>  [<ffffffff880c23b0>] :video_buf_dvb:videobuf_dvb_thread+0x0/0x190
>  [<ffffffff880c23e9>] :video_buf_dvb:videobuf_dvb_thread+0x39/0x190
>  [<ffffffff880c23b0>] :video_buf_dvb:videobuf_dvb_thread+0x0/0x190
>  [<ffffffff802342eb>] kthread+0x4b/0x80
>  [<ffffffff802622a8>] child_rip+0xa/0x12
>  [<ffffffff802342a0>] kthread+0x0/0x80
>  [<ffffffff8026229e>] child_rip+0x0/0x12
> Code: 0f 0b eb fe 0f 0b eb fe 41 8b 44 24 30 a8 01 0f 84 ed fd ff 
> 
> 
> >>RIP; ffffffff802608e5 <cache_alloc_refill+495/560>   <=====
> 
> >>RDX; ffff81010006a400 <phys_startup_64+ffff8100ffe6a400/ffffffff80000000>
> >>RDI; ffff81010001c180 <phys_startup_64+ffff8100ffe1c180/ffffffff80000000>
> >>RBP; ffff81010006a400 <phys_startup_64+ffff8100ffe6a400/ffffffff80000000>
> >>R08; 00000000ffffffff <phys_startup_64+ffdfffff/ffffffff80000000>
> >>R12; ffff81010001e2c0 <phys_startup_64+ffff8100ffe1e2c0/ffffffff80000000>
> >>R13; ffff81010001c140 <phys_startup_64+ffff8100ffe1c140/ffffffff80000000>
> >>R15; ffff81010000b000 <phys_startup_64+ffff8100ffe0b000/ffffffff80000000>
> 
> Trace; ffffffff802c95b8 <__kmalloc+68/70>
> Trace; ffffffff802c19e7 <__vmalloc_area_node+157/1a0>
> Trace; ffffffff880bc8a0 <_end+79f1b1c/7ef3527c>
> Trace; ffffffff880bcdbe <_end+79f203a/7ef3527c>
> Trace; ffffffff880fc07e <_end+7a312fa/7ef3527c>
> Trace; ffffffff880bc0c7 <_end+79f1343/7ef3527c>
> Trace; ffffffff880c23b0 <_end+79f762c/7ef3527c>
> Trace; ffffffff880c23e9 <_end+79f7665/7ef3527c>
> Trace; ffffffff880c23b0 <_end+79f762c/7ef3527c>
> Trace; ffffffff802342eb <kthread+4b/80>
> Trace; ffffffff802622a8 <child_rip+a/12>
> Trace; ffffffff802342a0 <kthread+0/80>
> Trace; ffffffff8026229e <child_rip+0/12>
> 
> Code;  ffffffff802608e5 <cache_alloc_refill+495/560>
> 0000000000000000 <_RIP>:
> Code;  ffffffff802608e5 <cache_alloc_refill+495/560>   <=====
>    0:   0f 0b                     ud2a      <=====
> Code;  ffffffff802608e7 <cache_alloc_refill+497/560>
>    2:   eb fe                     jmp    2 <_RIP+0x2>
> Code;  ffffffff802608e9 <cache_alloc_refill+499/560>
>    4:   0f 0b                     ud2a   
> Code;  ffffffff802608eb <cache_alloc_refill+49b/560>
>    6:   eb fe                     jmp    6 <_RIP+0x6>
> Code;  ffffffff802608ed <cache_alloc_refill+49d/560>
>    8:   41 8b 44 24 30            mov    0x30(%r12),%eax
> Code;  ffffffff802608f2 <cache_alloc_refill+4a2/560>
>    d:   a8 01                     test   $0x1,%al
> Code;  ffffffff802608f4 <cache_alloc_refill+4a4/560>
>    f:   0f 84 ed fd ff 00         je     fffe02 <_RIP+0xfffe02>
> 
> 
> 1 warning and 1 error issued.  Results may not be reliable.
> 
> I can't compil hg source with your patch for this kernel :
> 
> make -C /lib/modules/2.6.21-rc7-mm2/build SUBDIRS=/usr/src/CVS/v4l-dvb/v4l  modules
> make[1]: Entering directory `/usr/src/linux-2.6.21-rc7-mm2'
>   CC [M]  /usr/src/CVS/v4l-dvb/v4l/dvb_net.o
> /usr/src/CVS/v4l-dvb/v4l/dvb_net.c: In function 'dvb_net_eth_type_trans':
> /usr/src/CVS/v4l-dvb/v4l/dvb_net.c:186: error: 'struct sk_buff' has no member named 'mac'
> /usr/src/CVS/v4l-dvb/v4l/dvb_net.c: In function 'dvb_net_ule':
> /usr/src/CVS/v4l-dvb/v4l/dvb_net.c:625: warning: cast to pointer from integer of different size
> /usr/src/CVS/v4l-dvb/v4l/dvb_net.c:626: warning: cast to pointer from integer of different size
> /usr/src/CVS/v4l-dvb/v4l/dvb_net.c:627: warning: cast to pointer from integer of different size
> /usr/src/CVS/v4l-dvb/v4l/dvb_net.c:628: warning: cast to pointer from integer of different size
> make[2]: *** [/usr/src/CVS/v4l-dvb/v4l/dvb_net.o] Error 1
> make[1]: *** [_module_/usr/src/CVS/v4l-dvb/v4l] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.21-rc7-mm2'
> make: *** [default] Error 2
> 
> What kernel (with which patches) are you using ?
> 
> Thank,

I'm currently using 2.6.21 + x86_64-mm-vmalloc-32.patch with the v4l-dvb
drivers. I need to use the v4l-dvb tree in order to get the IR remote
working reliably. This combination compiles and works OK for me.

My hardware is different to yours. My Nova-T card has a saa7146 chip but
your card appears to be one of the newer cx88 based ones.

I'd suggest that you stick with 2.6.21 or 2.6.21.1 instead of the -mm
kernels since these are generally less stable then the main tree.

	Jon



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-30 18:05             ` Jon Burgess
@ 2007-05-01  9:39               ` Gregoire Favre
  2007-05-01  9:41               ` Gregoire Favre
  1 sibling, 0 replies; 20+ messages in thread
From: Gregoire Favre @ 2007-05-01  9:39 UTC (permalink / raw)
  To: Jon Burgess
  Cc: linux-dvb, v4l-dvb-maintainer, Markus Rechberger, linux-kernel,
	Lee Revell

On Mon, Apr 30, 2007 at 07:05:16PM +0100, Jon Burgess wrote:

> I'm currently using 2.6.21 + x86_64-mm-vmalloc-32.patch with the v4l-dvb
> drivers. I need to use the v4l-dvb tree in order to get the IR remote
> working reliably. This combination compiles and works OK for me.

You are lucky :)

They are still some bugs with this setup : after some time of inactivity
I can't use vdr anymore, and killing it, I got a :

[vdr] <defunct>

which prevent me from unloading the modules, reload them and restart
vdr...

Thank,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-30 18:05             ` Jon Burgess
  2007-05-01  9:39               ` Gregoire Favre
@ 2007-05-01  9:41               ` Gregoire Favre
  2007-05-01 22:11                 ` Jon Burgess
  1 sibling, 1 reply; 20+ messages in thread
From: Gregoire Favre @ 2007-05-01  9:41 UTC (permalink / raw)
  To: Jon Burgess
  Cc: linux-dvb, v4l-dvb-maintainer, Markus Rechberger, linux-kernel,
	Lee Revell

Hello again,

just forgot this :

ksymoops 2.4.11 on x86_64 2.6.21.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.6.21/ (default)
     -m /usr/src/linux/System.map (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Error (regular_file): read_ksyms stat /proc/ksyms failed
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
SGI XFS with large block/inode numbers, no debug enabled
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1d.7: debug port 1
kernel BUG at mm/slab.c:2736!
CPU 1 
Pid: 9445, comm: cx88[0] dvb Tainted: P       2.6.21 #1
RIP: 0010:[<ffffffff8025e44e>]  [<ffffffff8025e44e>] cache_alloc_refill+0x1de/0x530
Using defaults from ksymoops -t elf64-x86-64 -a i386:x86-64
RSP: 0000:ffff81010ff31d30  EFLAGS: 00010002
RAX: 0000000000000000 RBX: 000000000000003c RCX: 0000000000000000
RDX: ffff81017fc6e400 RSI: 0000000000000004 RDI: ffff81017fc02180
RBP: ffff81017fc6e400 R08: 00000000ffffffff R09: 0000000000000004
R10: 0000000000000020 R11: 0000000000000001 R12: ffff81017fc02140
R13: ffff81017fc002c0 R14: 0000000000000000 R15: ffff81017fc13000
FS:  0000000000000000(0000) GS:ffff81017fc36540(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00007fff05c58de8 CR3: 0000000129142000 CR4: 00000000000006e0
Stack:  0000000000000000 ffffffff805ea9b0 ffff81017fc02180 ffff810000000004
 ffffc2000067bfff 0000000000000286 0000000000000030 ffff81015fb4cf80
 0000000000006000 0000000000000004 ffff81017d4e90e0 ffffffff802bfaf3
Call Trace:
 [<ffffffff802bfaf3>] __kmalloc+0x63/0x70
 [<ffffffff802b80be>] __vmalloc_area_node+0x6e/0x160
 [<ffffffff887fc7c0>] :video_buf:videobuf_dma_init_kernel+0x50/0xd0
 [<ffffffff887fcc8e>] :video_buf:videobuf_iolock+0x7e/0x100
 [<ffffffff8883bfe4>] :cx8802:cx8802_buf_prepare+0xb4/0x120
 [<ffffffff887fc034>] :video_buf:videobuf_read_start+0xb4/0x150
 [<ffffffff888023e6>] :video_buf_dvb:videobuf_dvb_thread+0x46/0x170
 [<ffffffff8029d6d0>] keventd_create_kthread+0x0/0x90
 [<ffffffff888023a0>] :video_buf_dvb:videobuf_dvb_thread+0x0/0x170
 [<ffffffff8029d6d0>] keventd_create_kthread+0x0/0x90
 [<ffffffff802334f9>] kthread+0xd9/0x120
 [<ffffffff802283bf>] schedule_tail+0x3f/0xb0
 [<ffffffff802600e8>] child_rip+0xa/0x12
 [<ffffffff8029d6d0>] keventd_create_kthread+0x0/0x90
 [<ffffffff80233420>] kthread+0x0/0x120
 [<ffffffff802600de>] child_rip+0x0/0x12
Code: 0f 0b eb fe f7 44 24 18 00 20 00 00 0f 85 af 02 00 00 83 3c 


>>RIP; ffffffff8025e44e <cache_alloc_refill+1de/530>   <=====

>>RDX; ffff81017fc6e400 <phys_startup_64+ffff81017fa6e300/ffffffff7fffff00>
>>RDI; ffff81017fc02180 <phys_startup_64+ffff81017fa02080/ffffffff7fffff00>
>>RBP; ffff81017fc6e400 <phys_startup_64+ffff81017fa6e300/ffffffff7fffff00>
>>R08; 00000000ffffffff <phys_startup_64+ffdffeff/ffffffff7fffff00>
>>R12; ffff81017fc02140 <phys_startup_64+ffff81017fa02040/ffffffff7fffff00>
>>R13; ffff81017fc002c0 <phys_startup_64+ffff81017fa001c0/ffffffff7fffff00>
>>R15; ffff81017fc13000 <phys_startup_64+ffff81017fa12f00/ffffffff7fffff00>

Trace; ffffffff802bfaf3 <__kmalloc+63/70>
Trace; ffffffff802b80be <__vmalloc_area_node+6e/160>
Trace; ffffffff887fc7c0 <_end+81646fc/7ef67f3c>
Trace; ffffffff887fcc8e <_end+8164bca/7ef67f3c>
Trace; ffffffff8883bfe4 <_end+81a3f20/7ef67f3c>
Trace; ffffffff887fc034 <_end+8163f70/7ef67f3c>
Trace; ffffffff888023e6 <_end+816a322/7ef67f3c>
Trace; ffffffff8029d6d0 <keventd_create_kthread+0/90>
Trace; ffffffff888023a0 <_end+816a2dc/7ef67f3c>
Trace; ffffffff8029d6d0 <keventd_create_kthread+0/90>
Trace; ffffffff802334f9 <kthread+d9/120>
Trace; ffffffff802283bf <schedule_tail+3f/b0>
Trace; ffffffff802600e8 <child_rip+a/12>
Trace; ffffffff8029d6d0 <keventd_create_kthread+0/90>
Trace; ffffffff80233420 <kthread+0/120>
Trace; ffffffff802600de <child_rip+0/12>

Code;  ffffffff8025e44e <cache_alloc_refill+1de/530>
0000000000000000 <_RIP>:
Code;  ffffffff8025e44e <cache_alloc_refill+1de/530>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  ffffffff8025e450 <cache_alloc_refill+1e0/530>
   2:   eb fe                     jmp    2 <_RIP+0x2>
Code;  ffffffff8025e452 <cache_alloc_refill+1e2/530>
   4:   f7 44 24 18 00 20 00      testl  $0x2000,0x18(%rsp)
Code;  ffffffff8025e459 <cache_alloc_refill+1e9/530>
   b:   00 
Code;  ffffffff8025e45a <cache_alloc_refill+1ea/530>
   c:   0f 85 af 02 00 00         jne    2c1 <_RIP+0x2c1>
Code;  ffffffff8025e460 <cache_alloc_refill+1f0/530>
  12:   83 3c 00 00               cmpl   $0x0,(%rax,%rax,1)


1 warning and 1 error issued.  Results may not be reliable.
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [linux-dvb] [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-04-28 17:17       ` [PATCH] " Jon Burgess
  2007-04-28 20:14         ` Jon Burgess
@ 2007-05-01 15:58         ` Oliver Endriss
  2007-05-01 20:03           ` Gregoire Favre
  1 sibling, 1 reply; 20+ messages in thread
From: Oliver Endriss @ 2007-05-01 15:58 UTC (permalink / raw)
  To: linux-dvb
  Cc: Jon Burgess, v4l-dvb-maintainer, Lee Revell, Gregoire Favre,
	linux-kernel

Jon Burgess wrote:
> It appears the problem is that the driver is using streamed PCI and
> needs to explicitly sync the data otherwise it breaks when the SWIOTLB
> is in use. A call to pci_unmap_sg() was missing too.
> 
> This patch is against the current v4l-dvb HG tree.
> 
> I've only tested the change with a budget-ci card.

Has anyone a problem with this patch?
If not I'll apply it tomorrow...

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin 0.3.9 available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [linux-dvb] [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-05-01 15:58         ` [linux-dvb] " Oliver Endriss
@ 2007-05-01 20:03           ` Gregoire Favre
  0 siblings, 0 replies; 20+ messages in thread
From: Gregoire Favre @ 2007-05-01 20:03 UTC (permalink / raw)
  To: v4l-dvb-maintainer; +Cc: linux-dvb, Jon Burgess, Lee Revell, linux-kernel

On Tue, May 01, 2007 at 05:58:42PM +0200, Oliver Endriss wrote:

> Has anyone a problem with this patch?
> If not I'll apply it tomorrow...

The patch seems fine, but incomplete : it allows budget-ci to work, but
don't allow cx88 cards to works.
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-05-01  9:41               ` Gregoire Favre
@ 2007-05-01 22:11                 ` Jon Burgess
  2007-05-02  9:35                   ` Andi Kleen
  0 siblings, 1 reply; 20+ messages in thread
From: Jon Burgess @ 2007-05-01 22:11 UTC (permalink / raw)
  To: Gregoire Favre, ak
  Cc: linux-dvb, v4l-dvb-maintainer, Markus Rechberger, linux-kernel,
	Lee Revell

On Tue, 2007-05-01 at 11:41 +0200, Gregoire Favre wrote:
> Hello again,
> 
> just forgot this :
> 
> ksymoops 2.4.11 on x86_64 2.6.21.  Options used
>      -V (default)
>      -k /proc/ksyms (default)
>      -l /proc/modules (default)
>      -o /lib/modules/2.6.21/ (default)
>      -m /usr/src/linux/System.map (default)
> 
> Warning: You did not tell me where to find symbol information.  I will
> assume that the log matches the kernel and modules that are running
> right now and I'll use the default options above for symbol resolution.
> If the current kernel and/or modules do not match the log, you can get
> more accurate output by telling me the kernel version and where to find
> map, modules, ksyms etc.  ksymoops -h explains the options.
> 
> Error (regular_file): read_ksyms stat /proc/ksyms failed
> No modules in ksyms, skipping objects
> No ksyms, skipping lsmod
> SGI XFS with large block/inode numbers, no debug enabled
> ehci_hcd 0000:00:1a.7: debug port 1
> ehci_hcd 0000:00:1d.7: debug port 1
> kernel BUG at mm/slab.c:2736!
> CPU 1 
> Pid: 9445, comm: cx88[0] dvb Tainted: P       2.6.21 #1
> RIP: 0010:[<ffffffff8025e44e>]  [<ffffffff8025e44e>] cache_alloc_refill+0x1de/0x530
> Using defaults from ksymoops -t elf64-x86-64 -a i386:x86-64
> RSP: 0000:ffff81010ff31d30  EFLAGS: 00010002
> RAX: 0000000000000000 RBX: 000000000000003c RCX: 0000000000000000
> RDX: ffff81017fc6e400 RSI: 0000000000000004 RDI: ffff81017fc02180
> RBP: ffff81017fc6e400 R08: 00000000ffffffff R09: 0000000000000004
> R10: 0000000000000020 R11: 0000000000000001 R12: ffff81017fc02140
> R13: ffff81017fc002c0 R14: 0000000000000000 R15: ffff81017fc13000
> FS:  0000000000000000(0000) GS:ffff81017fc36540(0000) knlGS:0000000000000000
> CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> CR2: 00007fff05c58de8 CR3: 0000000129142000 CR4: 00000000000006e0
> Stack:  0000000000000000 ffffffff805ea9b0 ffff81017fc02180 ffff810000000004
>  ffffc2000067bfff 0000000000000286 0000000000000030 ffff81015fb4cf80
>  0000000000006000 0000000000000004 ffff81017d4e90e0 ffffffff802bfaf3
> Call Trace:
>  [<ffffffff802bfaf3>] __kmalloc+0x63/0x70
>  [<ffffffff802b80be>] __vmalloc_area_node+0x6e/0x160
>  [<ffffffff887fc7c0>] :video_buf:videobuf_dma_init_kernel+0x50/0xd0
>  [<ffffffff887fcc8e>] :video_buf:videobuf_iolock+0x7e/0x100
>  [<ffffffff8883bfe4>] :cx8802:cx8802_buf_prepare+0xb4/0x120
>  [<ffffffff887fc034>] :video_buf:videobuf_read_start+0xb4/0x150
>  [<ffffffff888023e6>] :video_buf_dvb:videobuf_dvb_thread+0x46/0x170
>  [<ffffffff8029d6d0>] keventd_create_kthread+0x0/0x90
>  [<ffffffff888023a0>] :video_buf_dvb:videobuf_dvb_thread+0x0/0x170
>  [<ffffffff8029d6d0>] keventd_create_kthread+0x0/0x90
>  [<ffffffff802334f9>] kthread+0xd9/0x120
>  [<ffffffff802283bf>] schedule_tail+0x3f/0xb0
>  [<ffffffff802600e8>] child_rip+0xa/0x12
>  [<ffffffff8029d6d0>] keventd_create_kthread+0x0/0x90
>  [<ffffffff80233420>] kthread+0x0/0x120
>  [<ffffffff802600de>] child_rip+0x0/0x12
> Code: 0f 0b eb fe f7 44 24 18 00 20 00 00 0f 85 af 02 00 00 83 3c 
> 
> 
> >>RIP; ffffffff8025e44e <cache_alloc_refill+1de/530>   <=====
> 
> >>RDX; ffff81017fc6e400 <phys_startup_64+ffff81017fa6e300/ffffffff7fffff00>
> >>RDI; ffff81017fc02180 <phys_startup_64+ffff81017fa02080/ffffffff7fffff00>
> >>RBP; ffff81017fc6e400 <phys_startup_64+ffff81017fa6e300/ffffffff7fffff00>
> >>R08; 00000000ffffffff <phys_startup_64+ffdffeff/ffffffff7fffff00>
> >>R12; ffff81017fc02140 <phys_startup_64+ffff81017fa02040/ffffffff7fffff00>
> >>R13; ffff81017fc002c0 <phys_startup_64+ffff81017fa001c0/ffffffff7fffff00>
> >>R15; ffff81017fc13000 <phys_startup_64+ffff81017fa12f00/ffffffff7fffff00>
> 
> Trace; ffffffff802bfaf3 <__kmalloc+63/70>
> Trace; ffffffff802b80be <__vmalloc_area_node+6e/160>
> Trace; ffffffff887fc7c0 <_end+81646fc/7ef67f3c>
> Trace; ffffffff887fcc8e <_end+8164bca/7ef67f3c>
> Trace; ffffffff8883bfe4 <_end+81a3f20/7ef67f3c>
> Trace; ffffffff887fc034 <_end+8163f70/7ef67f3c>
> Trace; ffffffff888023e6 <_end+816a322/7ef67f3c>
> Trace; ffffffff8029d6d0 <keventd_create_kthread+0/90>
> Trace; ffffffff888023a0 <_end+816a2dc/7ef67f3c>
> Trace; ffffffff8029d6d0 <keventd_create_kthread+0/90>
> Trace; ffffffff802334f9 <kthread+d9/120>
> Trace; ffffffff802283bf <schedule_tail+3f/b0>
> Trace; ffffffff802600e8 <child_rip+a/12>
> Trace; ffffffff8029d6d0 <keventd_create_kthread+0/90>
> Trace; ffffffff80233420 <kthread+0/120>
> Trace; ffffffff802600de <child_rip+0/12>
> 
> Code;  ffffffff8025e44e <cache_alloc_refill+1de/530>
> 0000000000000000 <_RIP>:
> Code;  ffffffff8025e44e <cache_alloc_refill+1de/530>   <=====
>    0:   0f 0b                     ud2a      <=====
> Code;  ffffffff8025e450 <cache_alloc_refill+1e0/530>
>    2:   eb fe                     jmp    2 <_RIP+0x2>
> Code;  ffffffff8025e452 <cache_alloc_refill+1e2/530>
>    4:   f7 44 24 18 00 20 00      testl  $0x2000,0x18(%rsp)
> Code;  ffffffff8025e459 <cache_alloc_refill+1e9/530>
>    b:   00 
> Code;  ffffffff8025e45a <cache_alloc_refill+1ea/530>
>    c:   0f 85 af 02 00 00         jne    2c1 <_RIP+0x2c1>
> Code;  ffffffff8025e460 <cache_alloc_refill+1f0/530>
>   12:   83 3c 00 00               cmpl   $0x0,(%rax,%rax,1)
> 
> 
> 1 warning and 1 error issued.  Results may not be reliable.


Looks like you hit:
	BUG_ON(flags & ~(GFP_DMA | GFP_LEVEL_MASK | __GFP_NO_GROW));

I guess this was due to the vmalloc_32() change now passing in
GFP_DMA32. Looks like that could be a problem with the
x86_64-mm-vmalloc-32 patch. Andi?

	Jon



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-05-01 22:11                 ` Jon Burgess
@ 2007-05-02  9:35                   ` Andi Kleen
  2007-05-02 12:17                     ` Gregoire Favre
  2007-05-05  7:36                     ` Gregoire Favre
  0 siblings, 2 replies; 20+ messages in thread
From: Andi Kleen @ 2007-05-02  9:35 UTC (permalink / raw)
  To: Jon Burgess
  Cc: Gregoire Favre, linux-dvb, v4l-dvb-maintainer, Markus Rechberger,
	linux-kernel, Lee Revell


> Looks like you hit:
> 	BUG_ON(flags & ~(GFP_DMA | GFP_LEVEL_MASK | __GFP_NO_GROW));
> 
> I guess this was due to the vmalloc_32() change now passing in
> GFP_DMA32. Looks like that could be a problem with the
> x86_64-mm-vmalloc-32 patch. Andi?

Does this patch help?

Index: linux/mm/vmalloc.c
===================================================================
--- linux.orig/mm/vmalloc.c
+++ linux/mm/vmalloc.c
@@ -431,7 +431,7 @@ void *__vmalloc_area_node(struct vm_stru
 		area->flags |= VM_VPAGES;
 	} else {
 		pages = kmalloc_node(array_size,
-				(gfp_mask & ~(__GFP_HIGHMEM | __GFP_ZERO)),
+				(gfp_mask & GFP_LEVEL_MASK),
 				node);
 	}
 	area->pages = pages;


-Andi

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-05-02  9:35                   ` Andi Kleen
@ 2007-05-02 12:17                     ` Gregoire Favre
  2007-05-05  7:36                     ` Gregoire Favre
  1 sibling, 0 replies; 20+ messages in thread
From: Gregoire Favre @ 2007-05-02 12:17 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Jon Burgess, linux-dvb, v4l-dvb-maintainer, Markus Rechberger,
	linux-kernel, Lee Revell

On Wed, May 02, 2007 at 11:35:32AM +0200, Andi Kleen wrote:

> Does this patch help?

So far so good :-)

Thank you very much.

> Index: linux/mm/vmalloc.c
> ===================================================================
> --- linux.orig/mm/vmalloc.c
> +++ linux/mm/vmalloc.c
> @@ -431,7 +431,7 @@ void *__vmalloc_area_node(struct vm_stru
>  		area->flags |= VM_VPAGES;
>  	} else {
>  		pages = kmalloc_node(array_size,
> -				(gfp_mask & ~(__GFP_HIGHMEM | __GFP_ZERO)),
> +				(gfp_mask & GFP_LEVEL_MASK),
>  				node);
>  	}
>  	area->pages = pages;
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] Re: More than 2Gb problem (dvb related) ?
  2007-05-02  9:35                   ` Andi Kleen
  2007-05-02 12:17                     ` Gregoire Favre
@ 2007-05-05  7:36                     ` Gregoire Favre
  1 sibling, 0 replies; 20+ messages in thread
From: Gregoire Favre @ 2007-05-05  7:36 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Jon Burgess, linux-dvb, v4l-dvb-maintainer, Markus Rechberger,
	linux-kernel, Lee Revell

On Wed, May 02, 2007 at 11:35:32AM +0200, Andi Kleen wrote:
> 
> > Looks like you hit:
> > 	BUG_ON(flags & ~(GFP_DMA | GFP_LEVEL_MASK | __GFP_NO_GROW));
> > 
> > I guess this was due to the vmalloc_32() change now passing in
> > GFP_DMA32. Looks like that could be a problem with the
> > x86_64-mm-vmalloc-32 patch. Andi?
> 
> Does this patch help?

Hello,

now I am quiete certain the bug is gone with that patch : no single
error since Wed :-)

I hope they goes in 2.6.21.2.

Have a great week,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2007-05-05  7:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-27 11:10 More than 2Gb problem (dvb related) ? Gregoire Favre
2007-04-27 20:46 ` Markus Rechberger
2007-04-27 21:03   ` Gregoire Favre
2007-04-27 22:00   ` [linux-dvb] " Jon Burgess
2007-04-27 22:06     ` Lee Revell
2007-04-27 22:37       ` Jon Burgess
2007-04-28 17:17       ` [PATCH] " Jon Burgess
2007-04-28 20:14         ` Jon Burgess
2007-04-29 14:07           ` Gregoire Favre
2007-04-30  0:22           ` [linux-dvb] " Oliver Endriss
2007-04-30 16:52           ` Gregoire Favre
2007-04-30 18:05             ` Jon Burgess
2007-05-01  9:39               ` Gregoire Favre
2007-05-01  9:41               ` Gregoire Favre
2007-05-01 22:11                 ` Jon Burgess
2007-05-02  9:35                   ` Andi Kleen
2007-05-02 12:17                     ` Gregoire Favre
2007-05-05  7:36                     ` Gregoire Favre
2007-05-01 15:58         ` [linux-dvb] " Oliver Endriss
2007-05-01 20:03           ` Gregoire Favre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).