Re: [gentoo-user] pygame, framebuffer SDL_SysWMinfo has no member named 'info'
On Monday 02 October 2006 07:02, Stefano Guglia wrote: Hello everybody ! I was going to install a Gentoo box without X (framebuffer only) + Freevo. Pygame is needed by the ebuild, but no way to install: [SNIP] src/display.c:390: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:391: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:392: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:393: error: 'SDL_SysWMinfo' has no member named 'info' error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 !!! ERROR: dev-python/pygame-1.6.2 failed. [SNIP] You really should search bugzilla instead... http://bugs.gentoo.org/show_bug.cgi?id=89486 -- Bo Andresen pgpxpTWlaIxGq.pgp Description: PGP signature
Re: [gentoo-user] Portage parenthesis
On Mon, 2 Oct 2006 07:36:41 +0200 Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Monday 02 October 2006 07:30, Bo Ørsted Andresen wrote: Why would flags like mmx, mmxext, sse, and sse2 be masked from mplayer for me? /etc/make.profile - /usr/portage/profiles/default-linux/amd64/2006.1/desktop I'm not sure why the use flags are masked. Heh, and then I found it... http://bugs.gentoo.org/show_bug.cgi?id=104674 Several days ago the guys at gentoo-am64 mailing list explained to me all these flags enable different CFLAGS optimizations which came as the x86 architecture evolved during the years. When using amd64 the CFLAG -march amd64 enables all architecture specific functions in gcc. Simply gcc knows this CPU supports these instuction sets. Further AMD64 provides sse2 and the latest CPU models even sse3 which are superior to mmx, 3dnow and the other flags mentioned in this thread. So there is nothing wrong if these are hard disabled - gcc will take advantage of the amd64 arch. without these flags beeng enabled. Also I found this official article in the amd64 project site: http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#cflags Warning: You should never place -fPIC, -m32 or -m64 in your CFLAGS. They are automatically added whenever they are needed. Please also note that the -Os flag is currently not supported. There is also another article which explains why these are hard-masked: http://dev.gentoo.org/~plasmaroo/devmanual/archs/amd64/ HTH -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage parenthesis
On Monday 02 October 2006 08:21, Danie Iliev wrote: Several days ago the guys at gentoo-am64 mailing list explained to me all these flags enable different CFLAGS optimizations which came as the [SNIP] Please don't confuse CFLAGS with USE flags. CFLAGS are passed on to the compiler and tell it what kind of code to generate. E.g. an mmx USE flag usually tells the package through a configure switch (such as --enable-mmx) to autotools to enable some assembly code that uses the mmx instructions instead of some fallback code which doesn't. That assembly code is written manually rather than generated by the compiler (otherwise the CFLAG would suffice). There is also another article which explains why these are hard-masked: http://dev.gentoo.org/~plasmaroo/devmanual/archs/amd64/ Thanks, I forgot that one. The url is obsolete though: http://devmanual.gentoo.org/archs/amd64/index.html -- Bo Andresen pgps8JM5EliS4.pgp Description: PGP signature
Re: [gentoo-user] pygame, framebuffer SDL_SysWMinfo has no member named 'info'
Alle 08:04, lunedì 2 ottobre 2006, Andresen ha scritto: You really should search bugzilla instead... http://bugs.gentoo.org/show_bug.cgi?id=89486 Great! According to your link, I added #define DISABLE_X11 into /usr/include/SDL/SDL_syswm.h it then compiles withour x11 support. Thanks Bo Ørsted. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Remote desktop to WinXP from Gentoo
On Monday 02 October 2006 00:23, gentuxx wrote: gentuxx wrote: I forgot to state the obvious, in that, the ability to RDP needs to be enabled on the target WinXP box. So, in System Properties, go to the Remote tab, make sure Allow users to connect to this computer, select the appropriate users, and click OK. Thank you all for your advice! I don't think I checked if the server service is running on the WinXP box - I remember shutting it down some years ago in an effort to increase the security of this OS. Will look at it again when I get home tonight. Talking about security, is the vnc method the only way to secure this communication (for both machines)? Could there be perhaps ssh tunneling established between the two boxen before the rdp protocol kicks in? -- Regards, Mick pgp6o92yC5DUV.pgp Description: PGP signature
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Monday 02 October 2006 06:02, Lord Sauron wrote: modules_eth0=( dhcpcd ) iface_eth0=( dhcpcd ) config_eth0=( dhcp ) Not exactly sure if it's totally right, however, it doesn't give me an error message, though I suspect I'm really close to getting one ; ) Hazarding a guess as to what would get ifplugd to work: modules_eth0=( dhcpcd, ifplug ) # or ifplugd, I don't really know # which Thanks for your time! All I have on my laptop is config_eth0=( dhcp ) in /etc/conf.d/net and ifplugd worked straight out of the box. I thought I would need to configure it, but it ran fine first time with default settings. It even worked with *no* entries in /etc/conf.d/net, although a message kept coming up saying that eth0 defaults to dhcpcd. Therefore, if my experience is something to go by, I'd suggest that you remove all your entries first to see if you can get your eth0 connected and work backwards from there. -- Regards, Mick pgpFyQPA0MRiF.pgp Description: PGP signature
Re: [gentoo-user] Remote desktop to WinXP from Gentoo
Mick wrote: On Sunday 01 October 2006 22:41, Daniel Iliev wrote: The basinc syntax is: rdesktop my-father's-pc I have tried to do that with no success. This is what I'm getting: = $ rdesktop 192.168.0.2 ERROR: connect: Connection refused $ rdesktop -u michael 192.168.0.2 ERROR: connect: Connection refused $ rdesktop study1 ERROR: connect: Connection refused $ rdesktop -u michael 192.168.0.2 -p - Password: ERROR: connect: Connection refused = I have disabled the WinXP firewall just in case . . . You'll also have to enable the remotedesktop service on the windows pc. The System settings dialog has a tab Remote. Check the checkbox in the Remotedesktop part of the dialog. Regards mks -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Sun, 1 Oct 2006 21:45:49 -0700, Lord Sauron wrote: I'm going to take your word and try ifplug, however, I installed it and it doesn't work. Still pings up /dev/null for all it's doing. I even went to rc-update and had it start at boot, though that didn't work. You don't start it at all, let the network scripts deal with it. My guess is that it's trying to use net.lo (the loopback device) and thinks that that's plugged in therefore it tries to ping on everything else. Nope, it defaults to eth0, but the network scripts use it on whichever interface they are trying to control (but not lo because there is no concept of a network cable or link beat for lo). You really should read net.example. -- Neil Bothwick Mr. bullfrog says: time's fun when you're having flies. signature.asc Description: PGP signature
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Sun, 1 Oct 2006 22:02:12 -0700, Lord Sauron wrote: Hazarding a guess as to what would get ifplugd to work: Stop guessing and read the docs. -- Neil Bothwick Loose bits sink chips. signature.asc Description: PGP signature
Re: [gentoo-user] Possible new gentoo user
061001 Terry Eck wrote: Thanks to everyone who responded to my post. I will give gentoo a try to see how it goes. my first experience with linux was around 1994 using Slackware 1.2.0. Back then it was common to configure and compile the kernel for sound. You really should have no problem with Gentoo with that experience ! You've had a lot of generally sensible advice while I've been asleep (smile). I installed Gentoo exactly 3 yrs ago have never had regrets or problems. Read the installation guide the manual carefully before you start, have printed copies at hand follow to the letter what they say. Avoid the GUI installer, which is not a finished product yet. I did a Stage-3 GRP install, which gives you binaries to get started. After that, it's upto you how often you update packages: I do 'eix-sync' every Sat to get the list of what's available, check the nice colored list of what's changed during the week, then 'emerge' those which seem to be worthwhile. There are 3 levels of reliability: 'x86' (or whatever your platform is) has become something like Debian 'stable', ie rather conservative; '~x86' sb useable, but perhaps not for basic system items when new; 'hard-masked' is only for people willing to test buggy stuff. My compiling get done on a separate KDE desktop, while I do other things: Open Office takes 6 hr (overnight), but there is a binary, if you want it; a middle-sized set of KDE pkgs takes perhaps 3,5 hr ; otherwise, the longest compiles are c 1 hr (my CPU is an AMD 2500+). Gentoo is for people who want to manage their own boxes: you will need to edit configure files, but they're very well annotated. You should have a reasonably fast CPU , = 512 MB memory broadband, tho' some hardy people seem to run Gentoo with smaller resources. Let us all know what happens ! -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
[gentoo-user] No device coming up if I plug in an USB device
Title: No device coming up if I plug in an USB device Hi I am new to gentoo and I just finished a stage 1,2,3 installation, and I have followed the gentoo USB howto. When I plug-in a usb device no device coming up in /dev directory, yet dmesg tell me I have plugged in a mass storage device. I'm running kernel 2.6.17... please help. Stephen
Re: [gentoo-user] No device coming up if I plug in an USB device
On Monday 02 October 2006 12:31, Stephen Reynolds wrote: Hi I am new to gentoo and I just finished a stage 1,2,3 installation, and I have followed the gentoo USB howto. When I plug-in a usb device no device coming up in /dev directory, yet dmesg tell me I have plugged in a mass storage device. and what does dmesg say? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No device coming up if I plug in an USB device
On Monday 02 October 2006 16:01, Stephen Reynolds wrote: Hi I am new to gentoo and I just finished a stage 1,2,3 installation, and I have followed the gentoo USB howto. When I plug-in a usb device no device coming up in /dev directory, yet dmesg tell me I have plugged in a mass storage device. I'm running kernel 2.6.17... please help. Ah, I wanted to ask about this too. The same thing happens to me. I need to reboot with the device plugged in, which is a pain. I'd appreciate an answer as well. I hope this is not highjacking the thread, because I have the exact same question.. -- Mrugesh Karnik GPG Key 0xBA6F1DA8 Public key on http://wwwkeys.pgp.net pgpxchfTK8lxG.pgp Description: PGP signature
RE: [gentoo-user] No device coming up if I plug in an USB device
I will check dmesg and forward it later, pc at home I'm at work. -Original Message- From: Hemmann, Volker Armin [mailto:[EMAIL PROTECTED] Sent: Monday, 02 October 2006 01:10 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] No device coming up if I plug in an USB device On Monday 02 October 2006 12:31, Stephen Reynolds wrote: Hi I am new to gentoo and I just finished a stage 1,2,3 installation, and I have followed the gentoo USB howto. When I plug-in a usb device no device coming up in /dev directory, yet dmesg tell me I have plugged in a mass storage device. and what does dmesg say? -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Cannot mount volume on Gnome 2.16 when inserting CD?
Hi! I recently reinstalled my Gentoo system and unmasked and installed Gnome 2.16; the system is otherwise a ~x86 system. When I now insert a DVD/CD or plugin a USB stick, I get a popup showing: Cannot mount volume But I can perfectly fine mount this volume manually. Eg.: [EMAIL PROTECTED] ~ $ LC_ALL=C LANG=C sudo mount -v /dev/dvd /mnt/test mount: you didn't specify a filesystem type for /dev/dvd I will try type iso9660 mount: block device /dev/dvd is write-protected, mounting read-only /dev/hdc on /mnt/test type iso9660 (ro) The device is not listed in /etc/fstab (see http://askwar.pastebin.ca/188677). gnome-volume-manager is running: [EMAIL PROTECTED] ~ $ ps awux|grep -v grep|grep gnome-volume-manager 1000 7382 0.0 0.6 18828 4488 ?Ss Sep30 0:01 gnome-volume-manager --sm-disable [EMAIL PROTECTED] ~ $ ls -lad /var/db/pkg/*/*{hal-,gnome-mount}* drwxr-xr-x 2 root root 4096 10. Sep 21:19 /var/db/pkg/gnome-base/gnome-mount-0.4-r5 drwxr-xr-x 2 root root 4096 17. Sep 11:20 /var/db/pkg/sys-apps/hal-0.5.7.1-r1 My user is a member of the plugdev group: [EMAIL PROTECTED] ~ $ id uid=1000(alexander) gid=1000(alexander) Gruppen=10(wheel),16(cron),18(audio),19(cdrom),80(cdrw),100(users),250(portage),442(plugdev),444(games),1000(alexander) When I run gnome-volume-manager --sm-disable -n, I get the following output: [EMAIL PROTECTED] ~ $ gnome-volume-manager --sm-disable -n gnome-mount 0.4 gnome-mount 0.4 The second line with gnome-mount 0.4 was printed, when I inserted the CD. I've got a /media directory. When I try to manually mount the CD using hal and gnome-mount, I get: [EMAIL PROTECTED] ~ $ gnome-mount --hal-udi=/org/freedesktop/Hal/devices/volume_label_NEW --text --verbose gnome-mount 0.4 ** (gnome-mount:26113): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_label_NEW ** (gnome-mount:26113): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_label_NEW with mount_point='NEW', fstype='', num_options=1 ** (gnome-mount:26113): DEBUG: option='uid=1000' ** (gnome-mount:26113): WARNING **: Mount failed for /org/freedesktop/Hal/devices/volume_label_NEW org.freedesktop.DBus.Error.AccessDenied : A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface org.freedesktop.Hal.Device.Volume member Mount error name (unset) destination org.freedesktop.Hal) When I run the gnome-mount command as roót, the CD gets mounted just fine. What's broken on my system (other than using ~x86 and masked packages *G*)? Thanks, Alexander Skwar -- My mother drinks to forget she drinks. -- Crazy Jimmy -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] No device coming up if I plug in an USB device
Dmesg usb 1-5: new high speed USB device using ehci_hcd and address 2 ehci_hcd :00:03.3: port 5 high speed ehci_hcd :00:03.3: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT usb 1-5: default language 0x0409 usb 1-5: new device strings: Mfr=0, Product=2, SerialNumber=3 usb 1-5: Product: USB Mass Storage Device usb 1-5: SerialNumber: 55d53f022f51a2 usb 1-5: uevent usb 1-5: configuration #1 chosen from 1 choice usb 1-5: adding 1-5:1.0 (config #1, interface 0) usb 1-5:1.0: uevent ub 1-5:1.0: usb_probe_interface ub 1-5:1.0: usb_probe_interface - got id ub(1.2): GetMaxLUN returned 0, using 1 LUNs uba: uba1 drivers/usb/core/inode.c: creating file '002' I hope this helps Stephen -Original Message- From: Stephen Reynolds [mailto:[EMAIL PROTECTED] Sent: Monday, 02 October 2006 01:54 PM To: gentoo-user@lists.gentoo.org Subject: RE: [gentoo-user] No device coming up if I plug in an USB device I will check dmesg and forward it later, pc at home I'm at work. -Original Message- From: Hemmann, Volker Armin [mailto:[EMAIL PROTECTED] Sent: Monday, 02 October 2006 01:10 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] No device coming up if I plug in an USB device On Monday 02 October 2006 12:31, Stephen Reynolds wrote: Hi I am new to gentoo and I just finished a stage 1,2,3 installation, and I have followed the gentoo USB howto. When I plug-in a usb device no device coming up in /dev directory, yet dmesg tell me I have plugged in a mass storage device. and what does dmesg say? -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: gnome - circular dependencies?
Hey, could anyone give me a hint on the nature of this problem? I have tried with a completely new portage tree, yet no success. I really have no clue how this can happen. anyone? thanks for any help! KArsten hm, I get this trying to emerge gnome. I use the ~arch keyword and just now did emerge --sync. Someone got an idea what is wrong here? rambazamba karsten # emerge -p gnome These are the packages that would be merged, in order: Calculating dependencies... done! !!! Error: circular dependencies: ebuild / dev-perl/libwww-perl-5.805 merge depends on ebuild / dev-perl/Crypt-SSLeay-0.51-r1 merge (hard) ebuild / dev-perl/Crypt-SSLeay-0.51-r1 merge depends on ebuild / dev-perl/libwww-perl-5.805 merge (hard) ebuild / gnome-base/gnome-2.14.2 merge depends on ebuild / mail-client/evolution-2.6.2-r1 merge (hard) ebuild / mail-client/evolution-2.6.2-r1 merge depends on ebuild / mail-filter/spamassassin-3.1.5 merge (hard) ebuild / mail-filter/spamassassin-3.1.5 merge depends on ebuild / dev-perl/libwww-perl-5.805 merge (hard) Greets, Karsten -- gentoo-user@gentoo.org mailing list
[gentoo-user] ACPI for non-portables (i686/AMD)
Hi, For rendering purposes I often start my PC, start the rendering job and go to work. For power saving puproses I would like, that my PC recognizes its idle state and go down as far as possible. I heard of ACPI and suspend-to-RAM. I dont lik eto experiment a lot and finally find out, that it was impossible due to the start conditions and I should have known better. So I would like to know, what preconditions must be fullfilled to get that working. My system is an up-to-date Gentoo Linux system. cpuinfo says: processor : 0/1 - changed by me to minimize text vendor_id : AuthenticAMD cpu family : 15 model : 43 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping: 1 cpu MHz : 2002.659 cache size : 512 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 2 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 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy ts fid vid ttp bogomips: 4010.54 lspci says: 00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] 00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13) 00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11) 00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11) 00:0c.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (rev 02) 00:0d.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 03) 00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80) 00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:10.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 81) 00:10.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 81) 00:10.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 81) 00:10.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 81) 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South] 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) 00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] I have attached one SATA-disk to my system with about 1GB swap. Finally there are 1GB Dual-Channel RAM inside. My monitor understands DPMS. My bios has APM and ACPI switches. My bootlog says beside other things about ACPI: ACPI: Core revision 20060707 tbxface-0107 [01] load_tables : ACPI Tables successfully acquired Parsing all Control Methods: Table [DSDT](id 0005) - 537 Objects with 50 Devices 140 Methods 25 Regions ACPI Namespace successfully loaded at root c0507030 Do I have a chance to successfully enable ACPI and supsend-to-RAM without hurting my hardware? Where can I get good informations about successfully activating ACPI on my PC? Thank you very much for any link/hint/help in advance ! :O) Keep hacking! mcc -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage parenthesis
Why would flags like mmx, mmxext, sse, and sse2 be masked from mplayer for me? /etc/make.profile - /usr/portage/profiles/default-linux/amd64/2006.1/desktop I'm not sure why the use flags are masked. Heh, and then I found it... http://bugs.gentoo.org/show_bug.cgi?id=104674 Several days ago the guys at gentoo-am64 mailing list explained to me all these flags enable different CFLAGS optimizations which came as the x86 architecture evolved during the years. When using amd64 the CFLAG -march amd64 enables all architecture specific functions in gcc. Simply gcc knows this CPU supports these instuction sets. Further AMD64 provides sse2 and the latest CPU models even sse3 which are superior to mmx, 3dnow and the other flags mentioned in this thread. So there is nothing wrong if these are hard disabled - gcc will take advantage of the amd64 arch. without these flags beeng enabled. Also I found this official article in the amd64 project site: http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#cflags Warning: You should never place -fPIC, -m32 or -m64 in your CFLAGS. They are automatically added whenever they are needed. Please also note that the -Os flag is currently not supported. I'm actually using -march=k8 in accordance with the Gentoo Handbook's recommendation. Should I be using -march=amd64? I have an AMD Sempron64 3000+ CPU. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage parenthesis
On Monday 02 October 2006 16:13, Grant wrote: I'm actually using -march=k8 in accordance with the Gentoo Handbook's recommendation. Should I be using -march=amd64? I have an AMD Sempron64 3000+ CPU. No! Of course not. As you can see in `man gcc` there is no -march=amd64... k8 is fine. -- Bo Andresen pgpbtQfTOwk1g.pgp Description: PGP signature
Re: [gentoo-user] No device coming up if I plug in an USB device
Hi, On Mon, 2 Oct 2006 14:41:32 +0200 Stephen Reynolds [EMAIL PROTECTED] wrote: ub(1.2): GetMaxLUN returned 0, using 1 LUNs uba: uba1 drivers/usb/core/inode.c: creating file '002' There's your device node. You did read the help of the kernel option for the Low Performance USB Block driver (Device Drivers/Block Devices), which clearly says if unsure, say N, correct? (Hint: most probably not) -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No device coming up if I plug in an USB device
Hi, On Mon, 2 Oct 2006 17:03:43 +0530 Mrugesh Karnik [EMAIL PROTECTED] wrote: Ah, I wanted to ask about this too. The same thing happens to me. I need to reboot with the device plugged in, which is a pain. I'd appreciate an answer as well. That's probably not for the same reason. Please also post the relevant part (i.e. the additions) of dmesg output for a) working plugin on reboot, b) non-working plugin afterwards. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Widescreen resolution strangeness with nvidia
Hi, On Mon, 2 Oct 2006 07:25:15 -0700 Grant [EMAIL PROTECTED] wrote: The TV has a native resolution of 1366x768 as stated by the manufacturer. If I specify that resolution in xorg.conf, it says it's an invalid resolution and uses 1360x768 instead. Probably because that's the only mode built into the driver near your desired mode. Just put an appropriate modeline in your xorg.conf. Probably you can google it. But 1366 is a bit strange, though. In most cases, the horizontal size can be divided by 8, if not 16. This leaves a column of six unused pixels on the left side of the screen. If I use the masked version of nvidia-driver, 1366x768 also fails, but it is replaced with 1280x768. Strangely, the screen in then completely filled. If I back off to the stable driver and specify 1280x768, it is accepted and fills the entire screen. Is an actual resolution of 1280x768 being stretched to fill 1366? If so, why isn't 1360x768 stretched to 1366? Probably internal logic of the monitor. You'd have to ask its manufacturer reg. the why. BTW, you didn't tell how the monitor is connected. Analog VGA? -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: gnome - circular dependencies?
On Monday 02 October 2006 14:54, karsten wrote: Hey, could anyone give me a hint on the nature of this problem? I have tried with a completely new portage tree, yet no success. I really have no clue how this can happen. anyone? [SNIP] foo-a.ebuild depends on foo-b.ebuild and foo-b.ebuild depends on foo-a.ebuild. That means neither of foo-a and foo-b are able to satisfy their dependencies and portage chokes... It's already been filed as a bug [1] and a fix [2] was committed to cvs less than an hour ago. It may take a few hours for it to reach the main rsync mirrors... [1] http://bugs.gentoo.org/show_bug.cgi?id=144761 [2] http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.51-r1.ebuild?r1=1.7r2=1.8 -- Bo Andresen pgppICR1HIEXZ.pgp Description: PGP signature
Re: [gentoo-user] Widescreen resolution strangeness with nvidia
The TV has a native resolution of 1366x768 as stated by the manufacturer. If I specify that resolution in xorg.conf, it says it's an invalid resolution and uses 1360x768 instead. Probably because that's the only mode built into the driver near your desired mode. Just put an appropriate modeline in your xorg.conf. Probably you can google it. But 1366 is a bit strange, though. In most cases, the horizontal size can be divided by 8, if not 16. Ok, I'll play with modelines later today. This leaves a column of six unused pixels on the left side of the screen. If I use the masked version of nvidia-driver, 1366x768 also fails, but it is replaced with 1280x768. Strangely, the screen in then completely filled. If I back off to the stable driver and specify 1280x768, it is accepted and fills the entire screen. Is an actual resolution of 1280x768 being stretched to fill 1366? If so, why isn't 1360x768 stretched to 1366? Probably internal logic of the monitor. You'd have to ask its manufacturer reg. the why. BTW, you didn't tell how the monitor is connected. Analog VGA? It's connected via DVI. So, it must be a case of 1280x768 being stretched to 1366x768 by the TV right? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Router 3rd and 4th net interface problem
Neil Bothwick wrote: On Mon, 2 Oct 2006 08:18:38 -0700, Grant wrote: I've never used a switch before. Is there any proprietary software to configure (like with a router), or is it just a button or two? Just one button, the power switch :) Sometimes two ... if you attempt to use the uplink port [and it doesn't have autosense]. Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Router 3rd and 4th net interface problem
On Monday 02 October 2006 10:18, Grant [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Router 3rd and 4th net interface problem': I'm pretty confused. I'm trying to get the system in question to behave like a solid-state router that you can plug an ethernet jack into and be on the network. FYI, that doesn't require the router to have a unique IP. You could simply configure each router port as a separate subnet, if you really wanted to. How should eth1 and eth2 be configured in /etc/conf.d/net ? They should be configured as part of a bridge device (see the bridging section of /etc/conf.d/net.example) and have the address assigned (and DHCPD listing on) that bridge device. Except that this doesn't work on WLAN (MAC layer done by the WLAN adapter). eth1 and eth2 are both wired, no? How does 802.11a/b/g come into this? But probably proxy_arp can help here. And subnet separation, of course. Just extending the netmask a bit and enabling proxy_arp would do the job. OTOH, it's also easy to configure the routes to the other subnets via DHCP. Just a matter of taste. In any case, it only works on IP layer. I must admit that I've never used proxy_arp, but all ARP traffic occurs at the ethernet layer, below the IP layer, so it doesn't make sense to me for an option/program so named to only work on IP traffic. ARP is also only used intra-subnet, so this entire section doesn't make much sense to me. In *any* case, it's extremely unlikely that the OP is going to be carrying any significant amount of non-IP traffic. I feel that is an extraordinary enough condition to be mentioned. I've never used a switch before. Is there any proprietary software to configure (like with a router), or is it just a button or two? Generally a switch will have no configurable software; if it has anything worth configuring the manufacturer will call it a router and add 10-15$ to the price tag. In any case, I doubt you'll find a switch that supports 802.11a/b/g, since they will always require a little bit of configuration (ESSID and keys). You could get a wireless router (e.g. Linksys' WRT line), but they will have some software configuration. If you choose the right model, it'll be Linux instead of proprietary software. However, I know of no wireless routers that come from the manufacturer with Gentoo installed. In fact, I'm fairly sure that Gentoo doesn't provide any profiles, support, or even instructions for running on such hardware, which has severe [compared to a desktop] hw limitations. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpGRQBw6VB2m.pgp Description: PGP signature
[gentoo-user] Wacky ssh X11 question...
I've three independent hosts - imaginatively called A, B and C. Firewall rules dictate that A can be directly accessed from B, but not from C... A and B run the openssh sshd, and C is a terminal with a working X-Windows display. C has a ssh session opened with B which tunnels port 22 on C to 22 on A. Thereafter, it is possible to ssh to localhost on C and get a ssh connection to A, which in turn I successfully use to tunnel IMAP, SMTP, Squid - etc. I'd have expected to be able to tunnel X11 over this link from C to A - but it fails... I'm unclear if the reason for the failure is the additional tunnelling... Is this technique incompatible with X11 tunnelling? Is there a way to make it work with a reverse-tunnel or something like that? Am I barking up the wrong tree entirely? -- HostC# echo $DISPLAY :0.0 HostC# cat .ssh/config ForwardX11 yes HostC# ssh localhost -X HostA# echo $DISPLAY HostA# exit HostC# ssh localhost -Y HostA# echo $DISPLAY HostA# exit HostC# -- If I use -v -v I get this output... Curiously I have /usr/X11R6/bin/xauth on HostC, but xauth in in /usr/bin on host A. -- HostC# ssh localhost -Y OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 debug1: Reading configuration data /home/user/.ssh/config debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/user/.ssh/identity type -1 debug1: identity file /home/user/.ssh/id_rsa type -1 debug2: key_type_from_name: unknown key type '-BEGIN' debug2: key_type_from_name: unknown key type '-END' debug1: identity file /home/user/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3 debug1: match: OpenSSH_4.3 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.3 debug2: fd 4 setting O_NONBLOCK debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,[EMAIL PROTECTED],zlib debug2: kex_parse_kexinit: none,[EMAIL PROTECTED],zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,[EMAIL PROTECTED] debug2: kex_parse_kexinit: none,[EMAIL PROTECTED] debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_init: found hmac-md5 debug1: kex: server-client aes128-cbc hmac-md5 none debug2: mac_init: found hmac-md5 debug1: kex: client-server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug2: dh_gen_key: priv key bits set: 121/256 debug2: bits set: 483/1024 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'localhost' is known and matches the RSA host key. debug1: Found key in /home/user/.ssh/known_hosts:4 debug2: bits set: 540/1024 debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1:
Re: [gentoo-user] Router 3rd and 4th net interface problem
Hi, On Mon, 2 Oct 2006 10:49:34 -0500 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: How should eth1 and eth2 be configured in /etc/conf.d/net ? They should be configured as part of a bridge device (see the bridging section of /etc/conf.d/net.example) and have the address assigned (and DHCPD listing on) that bridge device. Except that this doesn't work on WLAN (MAC layer done by the WLAN adapter). eth1 and eth2 are both wired, no? How does 802.11a/b/g come into this? Yeah, that's just me not reading carefully. But looking at the first post by the OP, I thought that ath0 was meant to join eth1 and eth2. See my other mail, I've just clarified this. But probably proxy_arp can help here. And subnet separation, of course. Just extending the netmask a bit and enabling proxy_arp would do the job. OTOH, it's also easy to configure the routes to the other subnets via DHCP. Just a matter of taste. In any case, it only works on IP layer. I must admit that I've never used proxy_arp, but all ARP traffic occurs at the ethernet layer, below the IP layer, so it doesn't make sense to me for an option/program so named to only work on IP traffic. ARP is also only used intra-subnet, so this entire section doesn't make much sense to me. Well, for something like a bridge, it has to work inter-(physical-) subnet. Of course ARP happens on top of the link layer, just as IP. But ARP is a requirement for IP traffic. And by faking ARP answers for the computer in the other subnet, a router can redirect IP traffic to itself. It just claims all addresses in the other subnet. That's what proxy_arp does. So when it in fact uses forwarding, it behaves similar to a bridge w/ regard to that you don't need to configure all the computers with a route to the other subnet. In *any* case, it's extremely unlikely that the OP is going to be carrying any significant amount of non-IP traffic. I feel that is an extraordinary enough condition to be mentioned. Agreed. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Router 3rd and 4th net interface problem
quoth the Thomas T. Veldhouse: Neil Bothwick wrote: On Mon, 2 Oct 2006 08:18:38 -0700, Grant wrote: I've never used a switch before. Is there any proprietary software to configure (like with a router), or is it just a button or two? Just one button, the power switch :) Sometimes two ... if you attempt to use the uplink port [and it doesn't have autosense]. Tom Veldhouse Interesting. Mine doesn't have any power buttons. Unless you consider yanking the power cable a 'button'. -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org ...the number of UNIX installations has grown to 10, with more expected... - Dennis Ritchie and Ken Thompson, June 1972 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Widescreen resolution strangeness with nvidia
Grant emailgrant at gmail.com writes: The TV has a native resolution of 1366x768 as stated by the manufacturer. If I specify that resolution in xorg.conf, it says it's an invalid resolution and uses 1360x768 instead. This is common, at least for my 37 widescreen LCD/tv/monitor, too: Here's some portions of my xorg.conf file: Section Monitor Identifier Monitor0 VendorName VIZIO ModelName VIZIO L32 HorizSync 31-70 VertRefresh 50-85 DisplaySize 347 195 # display size in mm for DPI autoset # width = 1366pix / 100pix/in - 13.66in * 25.4mm/in - 347 mm # height = 768pix / 100pix/in - 7.68 in * 25.4mm/in - 195 mm Mode1366x768 # vfreq 59.815Hz, hfreq 47.553kHz DotClock85.50 HTimings1366 1494 1624 1798 VTimings768 770 776 795 Flags -HSync +VSync EndMode EndSection Section Device Identifier Card0 #Driver nv Driver nvidia #Driver NVIDIA #Driver vga VendorName nVidia Corporation BoardName NV11 [GeForce2 MX/MX 400] BusID PCI:1:0:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Modes1366x768 EndSubSection SubSection Display Viewport 0 0 Depth 16 Modes1366x768 EndSubSection SubSection Display Viewport 0 0 Depth 15 Modes1366x768 EndSubSection Note: I'm still using the SVGA port, not the HDMI port and I do experience a little bit of cropping but the numver 1360 is more correct. Everything my setup is pretty much standard. The model number was indicates a 32 screen, but in fact it is a 37 screen. I do not believe this makes a whole lot of difference. If/when you get the HDMI interface working send me some email with any differences in the xorg.conf file you notice. hth, James This leaves a column of six unused pixels on the left side of the screen. If I use the masked version of nvidia-driver, 1366x768 also fails, but it is replaced with 1280x768. Strangely, the screen in then completely filled. If I back off to the stable driver and specify 1280x768, it is accepted and fills the entire screen. Is an actual resolution of 1280x768 being stretched to fill 1366? If so, why isn't 1360x768 stretched to 1366? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage parenthesis
On Mon, 2 Oct 2006 08:45:24 +0200 Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Monday 02 October 2006 08:21, Danie Iliev wrote: Several days ago the guys at gentoo-am64 mailing list explained to me all these flags enable different CFLAGS optimizations which came as the [SNIP] Please don't confuse CFLAGS with USE flags. CFLAGS are passed on to the compiler and tell it what kind of code to generate. E.g. an mmx USE flag usually tells the package through a configure switch (such as --enable-mmx) to autotools to enable some assembly code that uses the mmx instructions instead of some fallback code which doesn't. That assembly code is written manually rather than generated by the compiler (otherwise the CFLAG would suffice). There is also another article which explains why these are hard-masked: http://dev.gentoo.org/~plasmaroo/devmanual/archs/amd64/ Thanks, I forgot that one. The url is obsolete though: http://devmanual.gentoo.org/archs/amd64/index.html Wouldn't CFLAGS and the mentioned USE flags lead to the same thing (even through different mechanisms) in this particular case? -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage parenthesis
On Mon, 2 Oct 2006 16:22:10 +0200 Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Monday 02 October 2006 16:13, Grant wrote: I'm actually using -march=k8 in accordance with the Gentoo Handbook's recommendation. Should I be using -march=amd64? I have an AMD Sempron64 3000+ CPU. No! Of course not. As you can see in `man gcc` there is no -march=amd64... k8 is fine. Of course! My mistake. I meant -march=athlon64 which is equivalent to -march=k8. Sorry about this. -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What is that (compile errors in system headers...)
On Monday 02 October 2006 19:48, Meino Christian Cramer wrote: I tried to compile a little program (nothing special) and got this errors: In file included from /usr/include/stdlib.h:438, from ethlinkstat.c:10: /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:27: error: previous declaration of 'dev_t' [SNIP] What should I do here ? Bug #144205 [1] should be of interest here. Basically you need to include sys/types.h before linux/types.h. [1] https://bugs.gentoo.org/show_bug.cgi?id=144205 -- Bo Andresen pgpk73jr762zh.pgp Description: PGP signature
Re: [gentoo-user] What is that (compile errors in system headers...)
From: Bo Ørsted Andresen [EMAIL PROTECTED] Subject: Re: [gentoo-user] What is that (compile errors in system headers...) Date: Mon, 2 Oct 2006 19:58:57 +0200 On Monday 02 October 2006 19:48, Meino Christian Cramer wrote: I tried to compile a little program (nothing special) and got this errors: In file included from /usr/include/stdlib.h:438, from ethlinkstat.c:10: /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:27: error: previous declaration of 'dev_t' [SNIP] What should I do here ? Bug #144205 [1] should be of interest here. Basically you need to include sys/types.h before linux/types.h. [1] https://bugs.gentoo.org/show_bug.cgi?id=144205 -- Bo Andresen Hi Bo, thanks for your fast reply, but unfortunately it does not completely solve it. Now I get this: In file included from /usr/include/stdlib.h:438, from ethlinkstat.c:10: /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:27: error: previous declaration of 'dev_t' was here /usr/include/sys/types.h:72: error: conflicting types for 'mode_t' /usr/include/linux/types.h:33: error: previous declaration of 'mode_t' was here /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t' /usr/include/linux/types.h:36: error: previous declaration of 'nlink_t' was here In file included from /usr/include/sys/types.h:133, from /usr/include/stdlib.h:438, from ethlinkstat.c:10: /usr/include/time.h:105: error: conflicting types for 'timer_t' /usr/include/linux/types.h:45: error: previous declaration of 'timer_t' was here In file included from /usr/include/sys/types.h:220, from /usr/include/stdlib.h:438, from ethlinkstat.c:10: /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' /usr/include/linux/types.h:24: error: previous declaration of 'fd_set' was here In file included from /usr/include/stdlib.h:438, from ethlinkstat.c:10: /usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t' /usr/include/linux/types.h:158: error: previous declaration of 'blkcnt_t' was here In file included from /usr/include/sys/uio.h:29, from /usr/include/sys/socket.h:27, from ethlinkstat.c:15: /usr/include/bits/uio.h:43: error: redefinition of 'struct iovec' In file included from /usr/include/sys/socket.h:35, from ethlinkstat.c:15: /usr/include/bits/socket.h:146: error: redefinition of 'struct sockaddr' /usr/include/bits/socket.h:163: error: redefinition of 'struct __kernel_sockaddr_storage' /usr/include/bits/socket.h:173: error: expected identifier before numeric constant /usr/include/bits/socket.h:216: error: redefinition of 'struct msghdr' /usr/include/bits/socket.h:231: error: redefinition of 'struct cmsghdr' /usr/include/bits/socket.h:258: error: conflicting types for '__cmsg_nxthdr' /usr/include/linux/socket.h:136: error: previous definition of '__cmsg_nxthdr' was here /usr/include/bits/socket.h:286: error: expected identifier before numeric constant /usr/include/bits/socket.h:297: error: redefinition of 'struct ucred' /usr/include/bits/socket.h:309: error: redefinition of 'struct linger' Something seems to be rotten in my system... May be the linux kernel header files under /usr/linux and those of linux-2.6.18 are incompatible ??? My includes are now: #include linux/if.h #include linux/ethtool.h #include stdio.h #include stdlib.h #include string.h #include errno.h #include sys/types.h #include linux/types.h #include sys/socket.h The program (a eth-link tester) is simply compiled with make program and I compile with gcc-4.1.1 (yse I did all the emerge system/world thingies and beside of this everything works fine until now). Compiling the kernel is as boring as ever ;O) Keep hacking! mcc -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What is that (compile errors in system headers...)
On Monday 02 October 2006 20:15, Meino Christian Cramer wrote: [SNIP] My includes are now: #include linux/if.h #include linux/ethtool.h #include stdio.h #include stdlib.h #include string.h #include errno.h #include sys/types.h #include linux/types.h [SNIP] # cat /usr/include/linux/if.h [SNIP] #include linux/types.h/* for __kernel_caddr_t et al */ [SNIP] So as you see linux/types.h is included (by linux/if.h long before sys/types.h -- Bo Andresen pgp5aoTEX762E.pgp Description: PGP signature
[gentoo-user] Allow a user to restart net.wlan0?
Hi, We have a machine here, my son's, which runs Gentoo and uses (I think) a D-Link 802.11abg NIC: 03:0a.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01) The setup uses ndiswrapper to load the Windows driver. For some reason this NIC seems to go off line quite a bit - maybe once a day. I'm assuming that this is caused by the Windows driver ndiswrapper having some sort of problem that is probably light years beyond my ability to debug. However running /etc/init.d/net.wlan0 restart always seems to get it going again. How can I set up the system to allow my son to run this command himself as a user? It appears that the script itself is runnable by a user, but when we try it I get a message that only root can run init scripts. Sector9 ~ # ls -al /etc/init.d/net.* lrwxrwxrwx 1 root root 6 Sep 16 10:14 /etc/init.d/net.eth0 - net.lo -rwxr-xr-x 1 root root 30341 Sep 16 10:27 /etc/init.d/net.lo lrwxrwxrwx 1 root root 6 Jul 29 11:31 /etc/init.d/net.wlan0 - net.lo Sector9 ~ # Is there an easy way to make this one script runnable by my son so that when I'm not around he can get things going again? On the other hand if there is an Open Source Linux driver for this card I'd love to install that but I don't know of one. Thanks, Mark -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] emerge -D pulling in more than it should these days?!
Anyway, the portage-2.1.2 tracker bug [1] shows you the differences between portage-2.1.1 and the latest 2.1.2 prerelease. Also a comment from zmedico (the portage dev who is providing us with all of these new features and fixes) [2] clearly shows that the change is intended. Well, if it's intended, then that's all I need to know... :) I believe that should answer your questions. You, however, haven't answered mine. What did you think it should do with --deep without --update? I'm no expert by any stretch, I just noticed that it was acting different and as illustrated, I could prove it. Perhaps I misunderstood what --deep was for. I guess I thought it was the package and any dependencies that NEEDED upgrade for the package to work. Now it feels like it just pulls in the other dependencies just because that's what they are. Again, I could be wrong. I just noticed more stuff being shown than usual, that's all. DÆVID -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Allow a user to restart net.wlan0?
emerge app-admin/sudo Edit /etc/sudoers and add: username ALL= NOPASSWD: /etc/init.d/ner.wlan0 Where username is his login. To run it: sudo /etc/init.d/net.wlan0 restart dcmOn 10/2/06, Mark Knecht [EMAIL PROTECTED] wrote: Hi, We have a machine here, my son's, which runs Gentoo and uses (Ithink) a D-Link 802.11abg NIC:03:0a.0 Ethernet controller: Atheros Communications, Inc. AR5005G802.11abg NIC (rev 01) The setup uses ndiswrapper to load the Windows driver. For some reason this NIC seems to go off line quite a bit - maybe once a day.I'm assuming that this is caused by the Windows driver ndiswrapperhaving some sort of problem that is probably light years beyond my ability to debug. However running /etc/init.d/net.wlan0 restart alwaysseems to get it going again. How can I set up the system to allow my son to run this commandhimself as a user? It appears that the script itself is runnable by a user, but when we try it I get a message that only root can run initscripts.Sector9 ~ # ls -al /etc/init.d/net.*lrwxrwxrwx 1 root root 6 Sep 16 10:14 /etc/init.d/net.eth0 - net.lo-rwxr-xr-x 1 root root 30341 Sep 16 10:27 /etc/init.d/net.lo lrwxrwxrwx 1 root root 6 Jul 29 11:31 /etc/init.d/net.wlan0 - net.loSector9 ~ # Is there an easy way to make this one script runnable by my son sothat when I'm not around he can get things going again? On the other hand if there is an Open Source Linux driver for thiscard I'd love to install thatbut I don't know of one.Thanks,Mark--gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Allow a user to restart net.wlan0?
On 10/2/06, Devon Miller [EMAIL PROTECTED] wrote: emerge app-admin/sudo Edit /etc/sudoers and add: username ALL= NOPASSWD: /etc/init.d/ner.wlan0 Where username is his login. To run it: sudo /etc/init.d/net.wlan0 restart dcm Thanks guys. I should have thought of sudo myself. I don't use it much. With your help I'm now able to do what I needed to do. Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Allow a user to restart net.wlan0?
On Mon, 2 Oct 2006 15:38:39 -0400, Devon Miller wrote: emerge app-admin/sudo Edit /etc/sudoers and add: username ALL= NOPASSWD: /etc/init.d/ner.wlan0 Where username is his login. To run it: sudo /etc/init.d/net.wlan0 restart A slightly more secure approach is to create a script to do what you want the user to be able to do and add that to /etc/sudoers. Then you control how the commands are executed as well as which commands. You could put /etc/init.d/net.wlan0 restart in a script and give it a desktop icon or toolbar button, so he can restart the network with a mouse click. -- Neil Bothwick That's not a bug, it's a Free Enhanced Feature! signature.asc Description: PGP signature
Re: [gentoo-user] emerge -D pulling in more than it should these days?!
On Mon, 2 Oct 2006 12:20:52 -0700, Daevid Vincent wrote: I'm no expert by any stretch, I just noticed that it was acting different and as illustrated, I could prove it. Perhaps I misunderstood what --deep was for. I guess I thought it was the package and any dependencies that NEEDED upgrade for the package to work. It updates any packages for which an upgraded is available. If the upgrade is needed, portage will do it without --deep. -- Neil Bothwick The man who dies with the most toys is dead. signature.asc Description: PGP signature
Re: [gentoo-user] Allow a user to restart net.wlan0?
On Mon, 2006-10-02 at 21:31 +0100, Neil Bothwick wrote: On Mon, 2 Oct 2006 15:38:39 -0400, Devon Miller wrote: emerge app-admin/sudo Edit /etc/sudoers and add: username ALL= NOPASSWD: /etc/init.d/ner.wlan0 Where username is his login. To run it: sudo /etc/init.d/net.wlan0 restart A slightly more secure approach is to create a script to do what you want the user to be able to do and add that to /etc/sudoers. Then you control how the commands are executed as well as which commands. you can put arguments in the sudoers file. For example, username ALL=(ALL) NOPASSWD: /etc/init.d/net.wlan0 start would only allow username to start wlan0, but not stop / restart / anything else. (I would actually allow a restart, because sometimes my wlan0 goes down and the only way to get it back is to stop and start it). so for example, you could also say username ALL=(ALL) NOPASSWD: /sbin/fdisk -l which would allow username to run the safe fdisk -l, but not the unsafe fdisk. HTH, -- Iain Buchanan iaindb at netspace dot net dot au In the next world, you're on your own. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problems with AMD64 GRUB booting nvidia SATA JBOD
I attempting to transfer from PATA to SATA on my AMD64 box. The main problem I am having is that GRUB is not booting my new partition. The (one) SATA (Wsetern Digital WD740GD-00FLC0) drive is setup as JBOD (to get windows to install) on an nvidia controller (asus A8N-E bios rev 13). This is AMD64. I mounted sda2 and installed. Now I cannot get GRUB to launch sda2. The bootsector grub is installed on is hda. Thanks, Neil Leathers -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Remote desktop to WinXP from Gentoo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: On Monday 02 October 2006 00:23, gentuxx wrote: gentuxx wrote: I forgot to state the obvious, in that, the ability to RDP needs to be enabled on the target WinXP box. So, in System Properties, go to the Remote tab, make sure Allow users to connect to this computer, select the appropriate users, and click OK. Thank you all for your advice! I don't think I checked if the server service is running on the WinXP box - I remember shutting it down some years ago in an effort to increase the security of this OS. Will look at it again when I get home tonight. Talking about security, is the vnc method the only way to secure this communication (for both machines)? Could there be perhaps ssh tunneling established between the two boxen before the rdp protocol kicks in? I believe the RDP connection is encrypted (using Diffie-Hellman or whatever algorithm Windows likes these days). A quick sniff gets what appears to be a key exchange and then a bunch of gobbledy-gook, so I think you should be good to go, if you're using RDP (and not VNC). This is based on vague recollections, and a quick sniff with wireshark, so, please, don't take it as gospel. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFIa4YTPA54hjTSp4RAjc8AJ492HgkNcRXWXy9Uhw227vzSp1ZwQCgkg3z wnhZzHbK3UOP7kkcnK3jdz8= =OZ4b -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Allow a user to restart net.wlan0?
On 10/2/2006, Mark Knecht [EMAIL PROTECTED] wrote: On 10/2/06, Devon Miller [EMAIL PROTECTED] wrote: emerge app-admin/sudo Edit /etc/sudoers and add: username ALL= NOPASSWD: /etc/init.d/ner.wlan0 Where username is his login. To run it: sudo /etc/init.d/net.wlan0 restart dcm Thanks guys. I should have thought of sudo myself. I don't use it much. With your help I'm now able to do what I needed to do. Thanks, Mark I wonder if this could be avoided by using the madwifi[-ng] driver and avoiding the windows thing altogether? I found it worked well, as does the freebsd kernel driver. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Widescreen resolution strangeness with nvidia
The TV has a native resolution of 1366x768 as stated by the manufacturer. If I specify that resolution in xorg.conf, it says it's an invalid resolution and uses 1360x768 instead. This is common, at least for my 37 widescreen LCD/tv/monitor, too: I tried the following modeline with no luck: Modeline 1366 x 768 115.0 1366 1494 1624 1798 768 770 776 795 - Grant -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT- tv tuner cards
Hi group, Do these things work very well? What's a good one? Is it gentoo-friendly. I'll be using it with a Viewsonic 17 LCD with a digital connector and a ATI Radeon 256M vid card. I saw one work back in 2000 and thought the picture quality quite poor. Have they improved much since then? -Maxim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT- tv tuner cards
On 10/3/2006, maxim wexler [EMAIL PROTECTED] wrote: Hi group, Do these things work very well? What's a good one? Is it gentoo-friendly. I'll be using it with a Viewsonic 17 LCD with a digital connector and a ATI Radeon 256M vid card. I saw one work back in 2000 and thought the picture quality quite poor. Have they improved much since then? -Maxim What is your TV source? Digital satellite? (DVB-S) Digital terrestial? (DVB-T), analogue terrestial? Cable? What country are you in? If you are after an analogue card I recommend a hauppauge PVR 150 or 250 or 350 or 500. The ivtv drivers can be flaky, but are improving all the time. The cards have a hardware mpeg-2 encoder, meaning you can get encoded video without using much cpu time. Also most stuff based on the bt878 chipset will work via the bttv driver. If it is DVB stuff you are afdter, look to the linuxtv.org website. You'll also get a lot of help on the mythtv mailing lists. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT- tv tuner cards
On 10/2/06, maxim wexler [EMAIL PROTECTED] wrote: Hi group, Do these things work very well? What's a good one? Is it gentoo-friendly. Maxim, I have a MYthTV server with two cards in it. One is a Hauppage PVR-150 and the other is a PVR-250. They are both reasonably good quality and run pretty well with the newer versions of the ivtv driver which is in portage. If you need more info let me know on the list or privately. Either is fine. Cheers, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Widescreen resolution strangeness with nvidia
The TV has a native resolution of 1366x768 as stated by the manufacturer. If I specify that resolution in xorg.conf, it says it's an invalid resolution and uses 1360x768 instead. This is common, at least for my 37 widescreen LCD/tv/monitor, too: I found this from Nvidia: http://nvidia.custhelp.com/cgi-bin/nvidia.cfg/php/enduser/std_adp.php?p_faqid=143 which states: NVIDIA GPUs can now support horizontal timings that are not evenly divisible by eight. However, such resolutions (example H .1366 x V. 768) must be included within the Displays EDID* firmware. How can I see my monitor's actual EDID information? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Widescreen resolution strangeness with nvidia
On Tuesday 03 October 2006 03:32, Grant wrote: The TV has a native resolution of 1366x768 as stated by the manufacturer. If I specify that resolution in xorg.conf, it says it's an invalid resolution and uses 1360x768 instead. This is common, at least for my 37 widescreen LCD/tv/monitor, too: I found this from Nvidia: http://nvidia.custhelp.com/cgi-bin/nvidia.cfg/php/enduser/std_adp.php?p_faq id=143 which states: NVIDIA GPUs can now support horizontal timings that are not evenly divisible by eight. However, such resolutions (example H .1366 x V. 768) must be included within the Displays EDID* firmware. How can I see my monitor's actual EDID information? maybe ddcmon? it is part of the lm_sensors package -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT- tv tuner cards
On Mon, 2006-10-02 at 18:04 -0700, maxim wexler wrote: Hi group, Do these things work very well? What's a good one? Is it gentoo-friendly. if it's linux-friendly, it's gentoo-friendly :) I'll be using it with a Viewsonic 17 LCD with a digital connector and a ATI Radeon 256M vid card. so long as it's a reasonable machine, you should be fine. I run fullscreen TV on a 17in on a GeForce FX5200, and and athlon 1700 XP with no worries. I saw one work back in 2000 and thought the picture quality quite poor. Have they improved much since then? In my experience (I've only tried a couple of cards) the quality is generally related to your signal - put up a good antennae and some decent cabling, and you should be hunky dory! However, I wouldn't be surprised if there was a card out there somewhere that gave you a crap picture no matter what. Look for reviews on linux sites - they should tell you how easy they are to get working, and how well they work. I personally like the COMPRO DTV-300 - it does digital terrestrial, and analog in one card, and it's fairly cheap. Not much for hardware encoding though. But that can easily be made up with a beefier system. HTH, -- Iain Buchanan iaindb at netspace dot net dot au Be consistent. -- Larry Wall in the perl man page -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT- tv tuner cards
On Tue, 2006-10-03 at 11:54 +0930, Iain Buchanan wrote: I personally like the COMPRO DTV-300 sorry, that's really a Compro Videomate DVB-T300 :) -- Iain Buchanan iaindb at netspace dot net dot au I thought YOU silenced the guard! -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT: Sansa e260 MicroSD
I'm trying to get my Sansa e260 to work under Gentoo.I can mount the flash via /dev/sda1, but I can't find the microSD card under linux.I expected it would show up as /dev/sdb or something like that, but no dice. lsusb gives me:Bus 001 Device 014: ID 0781:7421 SanDisk Corp.When it's plugged in, this is what dmesg reports:usb-storage: device found at 14 usb-storage: waiting for device to settle before scanning Vendor: SanDisk Model: Sansa e260 Rev: Type: Direct-Access ANSI SCSI revision: 00SCSI device sda: 7854080 512-byte hdwr sectors (4021 MB) sda: Write Protect is offsda: Mode Sense: 45 00 00 00sda: assuming drive cache: write throughSCSI device sda: 7854080 512-byte hdwr sectors (4021 MB)sda: Write Protect is offsda: Mode Sense: 45 00 00 00 sda: assuming drive cache: write throughsda: sda1 sda2sd 2:0:0:0: Attached scsi removable disk sdausb-storage: device scan completeSyslog reports basically the same information with this additional line: [scsi.agent] disk at /devices/pci:00/:00:11.2/usb1/1-2/1-2:128.0/host2/target2:0:0/2:0:0:0The only nodes udev creates is sda, sda1, and sda2. The sda1 is the accessible built-in flash and sda2 is the firmware image. Am I missing a kernel module? Any ideas? Even if it's just a pointer to a better place to ask this questiondcm.
[gentoo-user] java-config --set-user-classpath
Hi Guys, I'm just a little curious why --set-user-classpath and --set-system-classpath are being done away with? Is there a replacement facility for this functionality? Thanks. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] No device coming up if I plug in an USB device
Thanks -Original Message- From: Hans-Werner Hilse [mailto:[EMAIL PROTECTED] Sent: Monday, 02 October 2006 04:27 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] No device coming up if I plug in an USB device Hi, On Mon, 2 Oct 2006 17:03:43 +0530 Mrugesh Karnik [EMAIL PROTECTED] wrote: Ah, I wanted to ask about this too. The same thing happens to me. I need to reboot with the device plugged in, which is a pain. I'd appreciate an answer as well. That's probably not for the same reason. Please also post the relevant part (i.e. the additions) of dmesg output for a) working plugin on reboot, b) non-working plugin afterwards. -hwh -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list