LinHES Forums
http://forum.linhes.org/

/dev/video0 does not exist (but shows up in directory) FIXED
http://forum.linhes.org/viewtopic.php?f=2&t=5342
Page 1 of 1

Author:  saitoh [ Wed Jul 13, 2005 11:18 pm ]
Post subject:  /dev/video0 does not exist (but shows up in directory) FIXED

I just rebooted from an auto-install, and havn't even booted myth yet (which is why I'm posting here and not in the myth one as this seems to be an installation issue), and on boot I get the same error msg that I did when doing the manual install:

Code:
Failed to open /dev/video0: no such device


For all practical purposes, it just doesnt exist, but the directory for that and a ton of other video* devices shows up when I list the directory structure. I can even change the permissions of the directories just fine, but it wont cat any data from the directory, nor will anything else respond with it. What did I miss? Any ideas? Thank you.

--edit: fixed, read below for solution.

Author:  tjc [ Wed Jul 13, 2005 11:27 pm ]
Post subject: 

The node (/dev directory entry) exists but their isn't anything behind it. Do an ls -al /dev | more and you should see entries for HUNDREDS of nonexistant devices like /dev/hdh (your 8th IDE hard disk) or /dev/isdn7 (your 8th isdn interface) or /dev/tty63 (your 64th serial port). They're there for convenience so that if you add a second HD that you don't need to run mknod with the appropriate device type(s) and major/minor device numbers.

Author:  saitoh [ Wed Jul 13, 2005 11:36 pm ]
Post subject: 

tjc wrote:
The node (/dev directory entry) exists but their isn't anything behind it. Do an ls -al /dev | more and you should see entries for HUNDREDS of nonexistant devices like /dev/hdh (your 8th IDE hard disk) or /dev/isdn7 (your 8th isdn interface) or /dev/tty63 (your 64th serial port). They're there for convenience so that if you add a second HD that you don't need to run mknod with the appropriate device type(s) and major/minor device numbers.


interesting. so what Im looking for is a way to create those nodes (such as with mknod). Any clues as to what settings to use for a PVR350 (are there generic ones I can search for, or does it differ based on each indevidual system, and if so, how would I derive those?)

Thank you.

Author:  tjc [ Wed Jul 13, 2005 11:55 pm ]
Post subject: 

You said that you already have the nodes (directory entries)! If "ls /dev/video*" shows it, there's no need to use mknod.

What is probably missing is a properly initialized IVTV driver module, probably because the card isn't being recognized. Browse through the /var/log/messages file or dmesg output after a fresh boot and look for the IVTV section. If it's missing or the card/tuner type is "unknown" that's your problem. If you have multiple capture cards your PVR may ether not show up at all, or may show up as /dev/video1

Author:  saitoh [ Thu Jul 14, 2005 12:33 pm ]
Post subject: 

hmm, after the fiddling with the ivtv files, and rebooting, the error still crops up. Oddly enough, the error is only printed to the screen, not to the logs. I also get an error that deals with bus mastering of the pvr350, not sure if thats related to this or if thats a seperate issue.

Below I've added the /var/log/messages output from the most recent boot, the ivtv modules file, and lspci to show what hardware it does see.

Thank you for the help you've put in, I'm very appreciative.

/etc/mythtv/modules/ivtv:
Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
#options ivtv debug=1
#options tuner type=2
options saa7127 enable_output=1 output_select=0
options msp3400 once=1 simple=1

install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115;  /sbin/modprobe -
-ignore-install  ivtv; /sbin/modprobe ivtv-fb; /sbin/modprobe lirc_i2c

remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r
 msp3400 && /sbin/modprobe -r tuner && /sbin/modprobe -r ivtv-fb && /sbin/modprobe -r lirc_i2c


lspci output:
Code:
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 730 Host (rev 02)
0000:00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
0000:00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
0000:00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 82)
0000:00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
0000:00:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter (rev 31)


/var/log/messages:
Code:
Jul 14 12:37:41 mythtv kernel: klogd 1.4.1#16, log source = /proc/kmsg started.
Jul 14 12:37:41 mythtv kernel: Inspecting /boot/System.map-2.6.11.9-chw-2
Jul 14 12:37:41 mythtv kernel: Loaded 31914 symbols from /boot/System.map-2.6.11.9-chw-2.
Jul 14 12:37:41 mythtv kernel: Symbols match kernel version 2.6.11.
Jul 14 12:37:41 mythtv kernel: No module symbols loaded - kernel modules not enabled.
Jul 14 12:37:41 mythtv kernel: Linux version 2.6.11.9-chw-2 (root@devonthego.mysettopbox.tv) (gcc ve
rsion 3.3.5 (Debian 1:3.3.5-12)) #1 SMP Sat May 14 12:11:44 CDT 2005
Jul 14 12:37:41 mythtv kernel: BIOS-provided physical RAM map:
Jul 14 12:37:41 mythtv kernel:  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Jul 14 12:37:41 mythtv kernel:  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
Jul 14 12:37:41 mythtv kernel:  BIOS-e820: 00000000000ec000 - 0000000000100000 (reserved)
Jul 14 12:37:41 mythtv kernel:  BIOS-e820: 0000000000100000 - 0000000027000000 (usable)
Jul 14 12:37:41 mythtv kernel:  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
Jul 14 12:37:41 mythtv kernel: 0MB HIGHMEM available.
Jul 14 12:37:41 mythtv kernel: 624MB LOWMEM available.
Jul 14 12:37:41 mythtv kernel: DMI 2.3 present.
Jul 14 12:37:41 mythtv kernel: Allocating PCI resources starting at 27000000 (gap: 27000000:d8fc0000
)
Jul 14 12:37:41 mythtv kernel: Built 1 zonelists
Jul 14 12:37:41 mythtv kernel: Kernel command line: auto BOOT_IMAGE=Linux ro root=301 apm=power-off
nomce
Jul 14 12:37:41 mythtv kernel: Local APIC disabled by BIOS -- you can enable it with "lapic"
Jul 14 12:37:41 mythtv kernel: Initializing CPU#0
Jul 14 12:37:41 mythtv kernel: PID hash table entries: 4096 (order: 12, 65536 bytes)
Jul 14 12:37:41 mythtv kernel: Detected 747.367 MHz processor.
Jul 14 12:37:41 mythtv kernel: Using tsc for high-res timesource
Jul 14 12:37:41 mythtv kernel: Console: colour dummy device 80x25
Jul 14 12:37:41 mythtv kernel: Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Jul 14 12:37:41 mythtv kernel: Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Jul 14 12:37:41 mythtv kernel: Memory: 627532k/638976k available (2979k kernel code, 11000k reserved
, 1133k data, 224k init, 0k highmem)
Jul 14 12:37:41 mythtv kernel: Checking if this processor honours the WP bit even in supervisor mode
... Ok.
Jul 14 12:37:41 mythtv kernel: Security Framework v1.0.0 initialized
Jul 14 12:37:41 mythtv kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Jul 14 12:37:41 mythtv kernel: CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
Jul 14 12:37:41 mythtv kernel: CPU: L2 Cache: 64K (64 bytes/line)
Jul 14 12:37:41 mythtv kernel: Enabling fast FPU save and restore... done.
Jul 14 12:37:41 mythtv kernel: Checking 'hlt' instruction... OK.
Jul 14 12:37:41 mythtv kernel: CPU0: AMD Duron(tm) Processor stepping 01
Jul 14 12:37:41 mythtv kernel: per-CPU timeslice cutoff: 182.73 usecs.
Jul 14 12:37:41 mythtv kernel: task migration cache decay timeout: 1 msecs.
Jul 14 12:37:41 mythtv kernel: SMP motherboard not detected.
Jul 14 12:37:41 mythtv kernel: Local APIC not detected. Using dummy APIC emulation.
Jul 14 12:37:41 mythtv kernel: Brought up 1 CPUs
Jul 14 12:37:42 mythtv kernel: checking if image is initramfs...it isn't (no cpio magic); looks like
 an initrd
Jul 14 12:37:42 mythtv kernel: Freeing initrd memory: 3k freed
Jul 14 12:37:42 mythtv kernel: NET: Registered protocol family 16
Jul 14 12:37:42 mythtv kernel: PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=1
Jul 14 12:37:42 mythtv kernel: PCI: Using configuration type 1
Jul 14 12:37:42 mythtv kernel: mtrr: v2.0 (20020519)
Jul 14 12:37:42 mythtv kernel: ACPI: Subsystem revision 20050211
Jul 14 12:37:42 mythtv kernel: ACPI: Interpreter disabled.
Jul 14 12:37:42 mythtv kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Jul 14 12:37:42 mythtv kernel: pnp: PnP ACPI: disabled
Jul 14 12:37:42 mythtv kernel: PnPBIOS: Scanning system for PnP BIOS support...
Jul 14 12:37:42 mythtv kernel: PnPBIOS: Found PnP BIOS installation structure at 0xc00f7d70
Jul 14 12:37:42 mythtv kernel: PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x6b34, dseg 0xf0000
Jul 14 12:37:42 mythtv kernel: PnPBIOS: Missing SMALL_TAG_ENDDEP tag
Jul 14 12:37:42 mythtv last message repeated 3 times
Jul 14 12:37:42 mythtv kernel: PnPBIOS: 13 nodes reported by PnP BIOS; 13 recorded by driver
Jul 14 12:37:42 mythtv kernel: SCSI subsystem initialized
Jul 14 12:37:42 mythtv kernel: PCI: Probing PCI hardware
Jul 14 12:37:42 mythtv kernel: PCI: Probing PCI hardware (bus 00)
Jul 14 12:37:42 mythtv kernel: Uncovering SIS18 that hid as a SIS503 (compatible=0)
Jul 14 12:37:42 mythtv kernel: Enabling SiS 96x SMBus.
Jul 14 12:37:42 mythtv kernel: PCI: Using IRQ router SIS [1039/0018] at 0000:00:01.0
Jul 14 12:37:42 mythtv kernel: PCI: IRQ 0 for device 0000:00:09.0 doesn't match PIRQ mask - try pci=
usepirqmask
Jul 14 12:37:42 mythtv kernel: PCI: Found IRQ 11 for device 0000:00:09.0
Jul 14 12:37:42 mythtv kernel: Total HugeTLB memory allocated, 0
Jul 14 12:37:42 mythtv kernel: VFS: Disk quotas dquot_6.5.1
Jul 14 12:37:42 mythtv kernel: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Jul 14 12:37:42 mythtv kernel: SGI XFS with ACLs, security attributes, realtime, large block numbers
, no debug enabled
Jul 14 12:37:42 mythtv kernel: SGI XFS Quota Management subsystem
Jul 14 12:37:42 mythtv kernel: Initializing Cryptographic API
Jul 14 12:37:42 mythtv kernel: vesafb: framebuffer at 0xb8000000, mapped to 0xe7880000, using 6144k,
 total 16384k
Jul 14 12:37:42 mythtv kernel: vesafb: mode is 1024x768x16, linelength=2048, pages=4
Jul 14 12:37:42 mythtv kernel: vesafb: protected mode interface info at cbca:0004
Jul 14 12:37:42 mythtv kernel: vesafb: scrolling: redraw
Jul 14 12:37:42 mythtv kernel: vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Jul 14 12:37:42 mythtv kernel: bootsplash 3.1.6-2004/03/31: looking for picture...<6>...no good sign
ature found.
Jul 14 12:37:42 mythtv kernel: Console: switching to colour frame buffer device 128x48
Jul 14 12:37:42 mythtv kernel: fb0: VESA VGA frame buffer device
Jul 14 12:37:42 mythtv kernel: isapnp: Scanning for PnP cards...
Jul 14 12:37:42 mythtv kernel: isapnp: No Plug & Play device found
Jul 14 12:37:42 mythtv kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Jul 14 12:37:42 mythtv kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Jul 14 12:37:42 mythtv kernel: io scheduler noop registered
Jul 14 12:37:42 mythtv kernel: io scheduler anticipatory registered
Jul 14 12:37:42 mythtv kernel: io scheduler deadline registered
Jul 14 12:37:42 mythtv kernel: io scheduler cfq registered
Jul 14 12:37:42 mythtv kernel: Floppy drive(s): fd0 is 1.44M
Jul 14 12:37:42 mythtv kernel: FDC 0 is a post-1991 82077
Jul 14 12:37:42 mythtv kernel: RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Jul 14 12:37:42 mythtv kernel: loop: loaded (max 8 devices)
Jul 14 12:37:42 mythtv kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Jul 14 12:37:42 mythtv kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with ide
bus=xx
Jul 14 12:37:42 mythtv kernel: SIS5513: IDE controller at PCI slot 0000:00:00.1
Jul 14 12:37:42 mythtv kernel: SIS5513: chipset revision 208
Jul 14 12:37:42 mythtv kernel: SIS5513: not 100%% native mode: will probe irqs later
Jul 14 12:37:42 mythtv kernel: SIS5513: SiS730 ATA 100 (1st gen) controller
Jul 14 12:37:42 mythtv kernel:     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
Jul 14 12:37:42 mythtv kernel:     ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
Jul 14 12:37:42 mythtv kernel: hda: ST3120025A, ATA DISK drive
Jul 14 12:37:42 mythtv kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jul 14 12:37:42 mythtv kernel: hdc: PIONEER DVD-RW DVR-104, ATAPI CD/DVD-ROM drive
Jul 14 12:37:42 mythtv kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jul 14 12:37:42 mythtv kernel: hda: max request size: 1024KiB
Jul 14 12:37:42 mythtv kernel: hda: 234441648 sectors (120034 MB) w/1024KiB Cache, CHS=16383/255/63,
 UDMA(33)
Jul 14 12:37:42 mythtv kernel:  hda: hda1 hda2 hda3 hda4
Jul 14 12:37:42 mythtv kernel: hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(33)
Jul 14 12:37:42 mythtv kernel: Uniform CD-ROM driver Revision: 3.20
Jul 14 12:37:42 mythtv kernel: Fusion MPT base driver 3.01.18
Jul 14 12:37:42 mythtv kernel: Copyright (c) 1999-2004 LSI Logic Corporation
Jul 14 12:37:42 mythtv kernel: Fusion MPT SCSI Host driver 3.01.18
Jul 14 12:37:42 mythtv kernel: Fusion MPT misc device (ioctl) driver 3.01.18
Jul 14 12:37:42 mythtv kernel: mptctl: Registered with Fusion MPT base driver
Jul 14 12:37:42 mythtv kernel: mptctl: /dev/mptctl @ (major,minor=10,220)
Jul 14 12:37:42 mythtv kernel: mice: PS/2 mouse device common for all mice
Jul 14 12:37:42 mythtv kernel: input: AT Translated Set 2 keyboard on isa0060/serio0
Jul 14 12:37:42 mythtv kernel: md: linear personality registered as nr 1
Jul 14 12:37:42 mythtv kernel: md: raid0 personality registered as nr 2
Jul 14 12:37:42 mythtv kernel: md: raid1 personality registered as nr 3
Jul 14 12:37:42 mythtv kernel: md: raid10 personality registered as nr 9
Jul 14 12:37:42 mythtv kernel: md: raid5 personality registered as nr 4
Jul 14 12:37:42 mythtv kernel: raid5: measuring checksumming speed
Jul 14 12:37:42 mythtv kernel:    8regs     :  1132.000 MB/sec
Jul 14 12:37:42 mythtv kernel:    8regs_prefetch:  1008.000 MB/sec
Jul 14 12:37:42 mythtv kernel:    32regs    :   716.000 MB/sec
Jul 14 12:37:42 mythtv kernel:    32regs_prefetch:   708.000 MB/sec
Jul 14 12:37:42 mythtv kernel:    pII_mmx   :  1984.000 MB/sec
Jul 14 12:37:42 mythtv kernel:    p5_mmx    :  2632.000 MB/sec
Jul 14 12:37:42 mythtv kernel: raid5: using function: p5_mmx (2632.000 MB/sec)
Jul 14 12:37:42 mythtv kernel: raid6: int32x1    238 MB/s
Jul 14 12:37:42 mythtv kernel: raid6: int32x2    292 MB/s
Jul 14 12:37:42 mythtv kernel: raid6: int32x4    210 MB/s
Jul 14 12:37:42 mythtv kernel: raid6: int32x8    210 MB/s
Jul 14 12:37:42 mythtv kernel: raid6: mmxx1      542 MB/s
Jul 14 12:37:42 mythtv kernel: raid6: mmxx2      839 MB/s
Jul 14 12:37:42 mythtv kernel: raid6: sse1x1     574 MB/s
Jul 14 12:37:42 mythtv kernel: raid6: sse1x2     972 MB/s
Jul 14 12:37:42 mythtv kernel: raid6: using algorithm sse1x2 (972 MB/s)
Jul 14 12:37:42 mythtv kernel: md: raid6 personality registered as nr 8
Jul 14 12:37:42 mythtv kernel: md: multipath personality registered as nr 7
Jul 14 12:37:42 mythtv kernel: md: faulty personality registered as nr 10
Jul 14 12:37:42 mythtv kernel: md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
Jul 14 12:37:42 mythtv kernel: device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.
com
Jul 14 12:37:42 mythtv kernel: NET: Registered protocol family 2
Jul 14 12:37:42 mythtv kernel: IP: routing cache hash table of 4096 buckets, 64Kbytes
Jul 14 12:37:42 mythtv kernel: TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
Jul 14 12:37:42 mythtv kernel: TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
Jul 14 12:37:42 mythtv kernel: TCP: Hash tables configured (established 131072 bind 65536)
Jul 14 12:37:42 mythtv kernel: NET: Registered protocol family 1
Jul 14 12:37:42 mythtv kernel: NET: Registered protocol family 15
Jul 14 12:37:42 mythtv kernel: md: Autodetecting RAID arrays.
Jul 14 12:37:42 mythtv kernel: md: autorun ...
Jul 14 12:37:42 mythtv kernel: md: ... autorun DONE.
Jul 14 12:37:42 mythtv kernel: RAMDISK: Compressed image found at block 0
Jul 14 12:37:42 mythtv kernel: VFS: Mounted root (ext2 filesystem).
Jul 14 12:37:42 mythtv kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jul 14 12:37:42 mythtv kernel: VFS: Mounted root (ext3 filesystem) readonly.
Jul 14 12:37:42 mythtv kernel: Trying to move old root to /initrd ... <6>kjournald starting.  Commit
 interval 5 seconds
Jul 14 12:37:42 mythtv kernel: okay
Jul 14 12:37:42 mythtv kernel: Freeing unused kernel memory: 224k freed
Jul 14 12:37:42 mythtv kernel: Adding 594396k swap on /dev/hda2.  Priority:-1 extents:1
Jul 14 12:37:42 mythtv kernel: EXT3 FS on hda1, internal journal
Jul 14 12:37:42 mythtv kernel: usbcore: registered new driver usbfs
Jul 14 12:37:42 mythtv kernel: usbcore: registered new driver hub
Jul 14 12:37:42 mythtv kernel: USB Universal Host Controller Interface driver v2.2
Jul 14 12:37:42 mythtv kernel: PCI: Found IRQ 5 for device 0000:00:01.2
Jul 14 12:37:42 mythtv kernel: PCI: Sharing IRQ 5 with 0000:00:01.3
Jul 14 12:37:42 mythtv kernel: ohci_hcd 0000:00:01.2: Silicon Integrated Systems [SiS] USB 1.0 Contr
oller
Jul 14 12:37:42 mythtv kernel: ohci_hcd 0000:00:01.2: irq 5, pci mem 0xcfffc000
Jul 14 12:37:42 mythtv kernel: ohci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
Jul 14 12:37:42 mythtv kernel: hub 1-0:1.0: USB hub found
Jul 14 12:37:42 mythtv kernel: hub 1-0:1.0: 3 ports detected
Jul 14 12:37:42 mythtv kernel: PCI: Found IRQ 5 for device 0000:00:01.3
Jul 14 12:37:42 mythtv kernel: PCI: Sharing IRQ 5 with 0000:00:01.2
Jul 14 12:37:42 mythtv kernel: ohci_hcd 0000:00:01.3: Silicon Integrated Systems [SiS] USB 1.0 Contr
oller (#2)
Jul 14 12:37:42 mythtv kernel: ohci_hcd 0000:00:01.3: irq 5, pci mem 0xcfffd000
Jul 14 12:37:42 mythtv kernel: ohci_hcd 0000:00:01.3: new USB bus registered, assigned bus number 2
Jul 14 12:37:42 mythtv kernel: hub 2-0:1.0: USB hub found
Jul 14 12:37:42 mythtv kernel: hub 2-0:1.0: 3 ports detected
Jul 14 12:37:42 mythtv kernel: Initializing USB Mass Storage driver...
Jul 14 12:37:42 mythtv kernel: usbcore: registered new driver usb-storage
Jul 14 12:37:42 mythtv kernel: USB Mass Storage support registered.
Jul 14 12:37:42 mythtv kernel: Real Time Clock Driver v1.12
Jul 14 12:37:42 mythtv kernel: Linux Kernel Card Services
Jul 14 12:37:42 mythtv kernel:   options:  [pci] [cardbus] [pm]
Jul 14 12:37:42 mythtv kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disa
bled
Jul 14 12:37:42 mythtv kernel: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Jul 14 12:37:42 mythtv kernel: parport: PnPBIOS parport detected.
Jul 14 12:37:42 mythtv kernel: parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
Jul 14 12:37:42 mythtv kernel: sis900.c: v1.08.07 11/02/2003
Jul 14 12:37:42 mythtv kernel: PCI: Found IRQ 10 for device 0000:00:01.1
Jul 14 12:37:42 mythtv kernel: 0000:00:01.1: Realtek RTL8201 PHY transceiver found at address 1.
Jul 14 12:37:42 mythtv kernel: 0000:00:01.1: Using transceiver found at address 1 as default
Jul 14 12:37:42 mythtv kernel: eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 10, 00:d0:09:d8:58:ce.
Jul 14 12:37:42 mythtv kernel: Linux agpgart interface v0.100 (c) Dave Jones
Jul 14 12:37:42 mythtv kernel: PCI: Found IRQ 10 for device 0000:00:01.4
Jul 14 12:37:42 mythtv kernel: AC'97 1 does not respond - RESET
Jul 14 12:37:42 mythtv kernel: SI7018: the secondary codec - invalid access
Jul 14 12:37:42 mythtv kernel: NET: Registered protocol family 17
Jul 14 12:37:42 mythtv kernel: NET: Registered protocol family 10
Jul 14 12:37:42 mythtv kernel: IPv6 over IPv4 tunneling driver
Jul 14 12:37:42 mythtv kernel: ttyS1: LSR safety check engaged!
Jul 14 12:37:42 mythtv kernel: ttyS1: LSR safety check engaged!
Jul 14 12:37:42 mythtv kernel: kjournald starting.  Commit interval 5 seconds
Jul 14 12:37:42 mythtv kernel: EXT3 FS on hda4, internal journal
Jul 14 12:37:42 mythtv kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jul 14 12:37:42 mythtv kernel: Disabled Privacy Extensions on device c04b6b00(lo)
Jul 14 12:37:42 mythtv kernel: eth0: Media Link On 100mbps full-duplex
Jul 14 12:37:42 mythtv kernel: Warning: /proc/ide/hd?/settings interface is obsolete, and will be re
moved soon!
Jul 14 12:37:47 mythtv kernel: Linux video capture interface: v1.00
Jul 14 12:37:47 mythtv kernel: saa7115: starting probe for adapter SMBus SIS630 adapter at 5080 (0x0
)
Jul 14 12:37:48 mythtv kernel: ivtv: ==================== START INIT IVTV ====================
Jul 14 12:37:48 mythtv kernel: ivtv: version 0.2.0 (rc3j) loading
Jul 14 12:37:48 mythtv kernel: ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3
Jul 14 12:37:48 mythtv kernel: ivtv: In case of problems please include the debug info
Jul 14 12:37:48 mythtv kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Jul 14 12:37:48 mythtv kernel: ivtv: mailing the ivtv-devel mailinglist.
Jul 14 12:37:49 mythtv kernel: ivtv: Autodetected WinTV PVR 350 card
Jul 14 12:37:49 mythtv kernel: ivtv: Found an iTVC15 based chip
Jul 14 12:37:49 mythtv kernel: PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
Jul 14 12:37:49 mythtv kernel: PCI: Found IRQ 11 for device 0000:00:09.0
Jul 14 12:37:49 mythtv kernel: ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:00:09.0 failed with e
rror -6
Jul 14 12:37:49 mythtv kernel: ivtv: ====================  END INIT IVTV  ====================
Jul 14 12:37:49 mythtv kernel: lirc_dev: IR Remote Control driver registered, at major 61
Jul 14 12:37:49 mythtv kernel: bttv: driver version 0.9.15 loaded
Jul 14 12:37:49 mythtv kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Jul 14 12:37:49 mythtv kernel: cx2388x v4l2 driver version 0.0.4 loaded
Jul 14 12:37:53 mythtv input.agent[2654]:      evdev: loaded successfully
Jul 14 12:37:53 mythtv input.agent[2687]:      evdev: already loaded
Jul 14 12:37:53 mythtv input.agent[2696]:      evdev: already loaded
Jul 14 12:37:53 mythtv isapnp.rc[2731]:      rtc: loaded sucessfully
Jul 14 12:37:54 mythtv kernel: input: PC Speaker
Jul 14 12:37:54 mythtv isapnp.rc[2731]:      pcspkr: loaded sucessfully
Jul 14 12:37:54 mythtv input.agent[2786]:      evdev: already loaded
Jul 14 12:37:54 mythtv input.agent[2780]:      evdev: already loaded
Jul 14 12:37:54 mythtv kernel: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Jul 14 12:37:54 mythtv isapnp.rc[2731]:      8250_pnp: loaded sucessfully
Jul 14 12:37:54 mythtv isapnp.rc[2731]:      parport_pc: loaded sucessfully
Jul 14 12:37:56 mythtv kernel: agpgart: Detected SiS 730 chipset
Jul 14 12:37:56 mythtv kernel: agpgart: Maximum main memory to use for agp memory: 549M
Jul 14 12:37:56 mythtv kernel: agpgart: AGP aperture is 64M @ 0xd0000000
Jul 14 12:37:56 mythtv pci.agent[2880]:      sis-agp: loaded successfully
Jul 14 12:37:59 mythtv pci.agent[2948]:      i2c-sis630: already loaded
Jul 14 12:38:00 mythtv pci.agent[2976]:      sis900: already loaded
Jul 14 12:38:01 mythtv pci.agent[3004]:      ohci-hcd: already loaded
Jul 14 12:38:03 mythtv pci.agent[3032]:      ohci-hcd: already loaded
Jul 14 12:38:04 mythtv pci.agent[3060]:      snd-trident: already loaded
Jul 14 12:38:05 mythtv kernel: cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
Jul 14 12:38:05 mythtv kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Jul 14 12:38:06 mythtv pci.agent[3123]: Bad PCI agent invocation
Jul 14 12:38:06 mythtv pci.agent[3088]:      shpchp: can't be loaded
Jul 14 12:38:06 mythtv pci.agent[3088]: missing kernel or user mode driver shpchp
Jul 14 12:38:07 mythtv pci.rc[2869]:      ignoring pci display device on 01:00.0
Jul 14 12:38:13 mythtv kernel: [drm] Initialized drm 1.0.0 20040925
Jul 14 12:38:13 mythtv kernel: PCI: Unable to reserve mem region #1:8000000@b8000000 for device 0000
:01:00.0
Jul 14 12:38:13 mythtv kernel: [drm] Initialized sis 1.1.0 20030826 on minor 0: Silicon Integrated S
ystems [SiS] 630/730 PCI/AGP VGA Display Adapter
Jul 14 12:38:13 mythtv kernel: [drm] Used old pci detect: framebuffer loaded
Jul 14 12:38:13 mythtv kernel: agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Jul 14 12:38:13 mythtv kernel: agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
Jul 14 12:38:13 mythtv kernel: agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

Author:  saitoh [ Thu Jul 14, 2005 9:04 pm ]
Post subject: 

To those of you who may be reading this from the archives and have a similar problem that dev/video0 cant be found, and have a similar error -6 (bus mastering) when loading ivtv at the start (as noted in the previous post near the bottom), try the following:

Code:
rmmod ivtv
setpci -s 00:09 4.w=116
modprobe ivtv


what this does is:
1) removes the ivtv module from memory
2) sets busmastering on for the PVR350
3) reloads ivtv.

check the /var/log/messages for confirmation, but it worked for me and everything else jives with other documentation. Good luck.

Author:  mjp [ Fri Sep 30, 2005 7:52 pm ]
Post subject:  I have the same error-6, tips above did not solve it

I have installed using R5A16 on the following hardware:

Compaq Presario 7AP140
256Mb RAM (yeah, I know)
800 MHz AMD Athlon processor
16Mb NVidia TNT2 video card
Sound Blaster Audio
WinTV PVR 350
PCI interrupt 0000:00:03.0[A] - > GSI (level, low) -> IRQ 11

I get the same error message as above. On screen I can see the messages:
ivtv: Bus Mastering is not enabled.
ivtv: Error -6 on initialization.
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:00:03.0 failed with error -6
ivtv-osd: ivtv_fb_card_id parameter is out of range (valid range: 0--1)

As root, I issued the commands:
rmmod ivtv
setpci -s 00:09 4.w=116
modprobe ivtv

but this did not have any effect.

Where else should I be looking?

/mjp

Author:  mjp [ Sun Oct 02, 2005 11:16 pm ]
Post subject:  Ahh, a dumb mistake

Ok, so obviously should be using

setpci -s 00:03 4.w=116

rather than 00:09 since my PVR-350 is on 00:03.

Duh!

So now I get picture, but it freezes after a second and then after a while goes back to the mythtv main screen. One step at a time. I'll now look for the solution to the next problem.

/mjp

Author:  mjp [ Sat Oct 08, 2005 12:17 pm ]
Post subject:  screen freeze is caused by wrong temp file paths

As described in other threads the screen freeze problem was caused by MythTV unable to write its temp files to the directories specified in MythTV-setup. The fix is to run MythTV-setup again and make sure that directories specified actually exist. The settings are in the "General" section, on the second page.

Author:  mjp [ Sat Oct 08, 2005 2:03 pm ]
Post subject:  maiking the busmastering fix permanent

I found that, while the setpci fix above works, I had to do it with every reboot.

So, I edited /etc/mythtv/modules/ivtv

and modified the "install" line as follows:

was:
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb; /sbin/modprobe lirc_i2c

new:
install ivtv /bin/setpci -s 00:03 4.w=116; /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb; /sbin/modprobe lirc_i2c

now the PVR-350 busmastering is enabled on startup.

Now on to TV-Out.

/mjp

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/