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

Re: Re:[linrad] Getting started



Looking at the end of the strace it has a permission problem.  Try running
linrad as root.

							Later, JOSH


On Thu, 16 Oct 2003, Richard Bown wrote:

>
> Thanks for the reply Sergio, I was wondering if this was one of those
> lists, that stayed very quiet.
>
> This behaviour is very strange.
> This is an AMD 1.2 GHz Duron processor.
> I noticed from the archives that at least 1 person is running with MDK
> 9.1, shortly to try on MDK 9.2, still downloading the new release.
> Some observations I made :-
> the was no rules to "make install" so the binary stayed in the directory
> it was built, so there 's no path to it.
> I also tried running it from outside of X , and it still turns off the
> output from the graphics card.
>
> and why is it complaining of my linux core being uncompatable from
> /porc/cpuinfo  ???
>
> whats wrong with this ?
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 6
> model           : 7
> model name      : AMD Duron(tm)
> stepping        : 1
> cpu MHz         : 1200.095
> cache size      : 64 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov
> pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
> bogomips        : 2392.06
>
>
> At least if I run in a console it will respond to ctrl C
>
> It all goes nuts after on setup you enter the mouse speed.
>
> I real confused with this
>
> For anyone who can make sense of a trace on start up, see below:-
> [richard@xxxxx linrad-01.07]$ strace linrad
> execve("/home/richard/linrad-01.07/linrad", ["linrad"], [/* 55 vars */])
> = 0
> uname({sys="Linux", node="gb7tf.org.uk", ...}) = 0
> brk(0)                                  = 0x80bed20
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0
> x40013000
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=67644, ...}) = 0
> old_mmap(NULL, 67644, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
> close(3)                                = 0
> open("/usr/lib/libvgagl.so.1", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 +\0\000"...,
> 1024) = 10
> 24
> fstat64(3, {st_mode=S_IFREG|0755, st_size=65240, ...}) = 0
> old_mmap(NULL, 68352, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40025000
> mprotect(0x40034000, 6912, PROT_NONE)   = 0
> old_mmap(0x40034000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
> 3, 0xe00
> 0) = 0x40034000
> close(3)                                = 0
> open("/usr/lib/libvga.so.1", O_RDONLY)  = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\210"...,
> 1024) = 10
> 24
> fstat64(3, {st_mode=S_IFREG|0755, st_size=342156, ...}) = 0
> old_mmap(NULL, 365980, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40036000
> mprotect(0x40085000, 42396, PROT_NONE)  = 0
> old_mmap(0x40085000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
> 3, 0x4e
> 000) = 0x40085000
> old_mmap(0x4008b000, 17820, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANON
> YMOUS, -1, 0) = 0x4008b000
> close(3)                                = 0
> open("/lib/i686/libm.so.6", O_RDONLY)   = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2404\0"...,
> 1024) = 102
> 4
> fstat64(3, {st_mode=S_IFREG|0755, st_size=136052, ...}) = 0
> old_mmap(NULL, 138624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40090000
> mprotect(0x400b1000, 3456, PROT_NONE)   = 0
> old_mmap(0x400b1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
> 3, 0x200
> 00) = 0x400b1000
> close(3)                                = 0
> open("/lib/i686/libc.so.6", O_RDONLY)   = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260X\1"...,
> 1024) = 102
> 4
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1246468, ...}) = 0
> old_mmap(NULL, 1256516, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x400b2000
> mprotect(0x401df000, 23620, PROT_NONE)  = 0
> old_mmap(0x401df000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
> 3, 0x12
> c000) = 0x401df000
> old_mmap(0x401e3000, 7236, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONY
> MOUS, -1, 0) = 0x401e3000
> close(3)                                = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0
> x401e5000
> mprotect(0x40036000, 323584, PROT_READ|PROT_WRITE) = 0
> mprotect(0x40036000, 323584, PROT_READ|PROT_EXEC) = 0
> munmap(0x40014000, 67644)               = 0
> fcntl64(0, F_GETFD)                     = 0
> fcntl64(1, F_GETFD)                     = 0
> fcntl64(2, F_GETFD)                     = 0
> stat64("/proc/bus/pci", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
> brk(0)                                  = 0x80bed20
> brk(0x80bfd20)                          = 0x80bfd20
> brk(0)                                  = 0x80bfd20
> brk(0x80c0000)                          = 0x80c0000
> open("/etc/vga/libvga.config", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=16284, ...}) = 0
> fstat64(3, {st_mode=S_IFREG|0644, st_size=16284, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x40
> 014000
> read(3, "# Configuration file for svgalib"..., 12288) = 12288
> read(3, "order to use them:\n# 1280x720, 1"..., 4096) = 3996
> close(3)                                = 0
> munmap(0x40014000, 4096)                = 0
> open("/home/richard/.svgalibrc", O_RDONLY) = -1 ENOENT (No such file or
> director
> y)
> ioperm(0x3b4, 0x2c, 0x1)                = -1 EPERM (Operation not
> permitted)
> fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x40
> 014000
> write(1, "svgalib: Cannot get I/O permissi"..., 37svgalib: Cannot get
> I/O permis
> sions.
> ) = 37
> munmap(0x40014000, 4096)                = 0
> exit_group(1)                           = ?
> [richard@xxxxx linrad-01.07]$
>
>
> HTH
>
> Richard
>
> On Thu, 2003-10-16 at 13:11, ik2mmb@xxxxxxxxx wrote:
>
> > This does not answer your fact, just to divulgate and report another
> > crashing system.
> >
> > Cheers,
> >
> > Sergio IK2MMB
> >
> > > Hi
> > >
> > > trying to get linrad to run, albeit with difficulty
> > >
> > > OS Mandrake 9.1, kernel 2.4.21.-25mdk WM =gnome
> > > processor amd 1.2 GHz duron 500MB ram
> > >
> > > installed svgalib-1.4.3mdk and svgalib-devel-1.4.3,
> > > both of the libs are no longer distributed  since MDK 8.1.
> > >
> > > compiled linrad eventually and started from the command line
> > > X gets killed
> > > message
> > > /proc/cpuinfo says linuxcore is not compatable
> > > svgalib reports mouse is type 5
> > > I select 800x 600 and font 1
> > >
> > > screen goes totally blank, and monitor is turned off
> > > ctrl + alt +f1  shows active console.
> > >
> > > alt+f7 to return to X just a small block saying 80x40 on the xterm
> > > and a message linrad start on tty8
> > > ctrl + alt f8 agin blank and no drive to the monitor
> > > alt + f12 ( my syslog is echoed here) to see wghat s happened
> > >
> > > not good cant change between consoles, keyboard locked out.
> > > so hit the reset button on the PC, this I dont like doing
> > >
> > > Nothing was recorded in syslog
> > >
> > > I would prefer to run a native linux prog for this.
> > > sitting windows app on either win4lin or vmware really screws up any dsp
> > > function
> > >
> > > 73 mvh
> > > Richard G8JVM
> > > --
> > > Richard Bown <richard.bown@xxxxxxxxxxxxxxxx>
> > >
> > >
> --
> Richard Bown <richard.bown@xxxxxxxxxxxxxxxx>
>
>
LINRADDARNIL