Re: [gentoo-user] Changing system from single to dual CPU ?
Might I suggest trying the following prior to your normal (I assume genkernel) build process. cd to /usr/src/linuxyour version as root type make mrproper This will ensure that your build tree is pristene. Now you should be able to run genkernel without problems. ---BeginMessage--- I have an Opteron 242 system, to which I recently added a second processor and some more memory. I figured that to take advantage of that processor, all I needed to do was recompile to kernel, reboot, and set -j3 in the make.conf file. However, there must be something else, since when I try to compile the kernel with smp, I get a whole bunch of errors like this when I run make: dandelion linux # make CHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list CC arch/i386/kernel/process.o In file included from include/asm/mpspec.h:5, from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from arch/i386/kernel/process.c:18: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' CC arch/i386/kernel/semaphore.o CC arch/i386/kernel/signal.o In file included from include/asm/mpspec.h:5, from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from arch/i386/kernel/signal.c:10: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' AS arch/i386/kernel/entry.o CC arch/i386/kernel/traps.o In file included from include/asm/mpspec.h:5, from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from arch/i386/kernel/traps.c:15: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' snip for brevity, the last one is: In file included from include/asm/mpspec.h:5, from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from include/linux/module.h:10, from fs/smbfs/smbfs.mod.c:1: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' LD [M] fs/smbfs/smbfs.ko -- So no normal end to the compile. This is with gentoo-sources 2.6.14-r5. I can't upgrade that right now for other reasons. The system is compiled as an x86 system, not amd64, and the only change in kernel config is related to smp: dandelion linux # grep -i smp .config # CONFIG_X86_BIGSMP is not set CONFIG_SMP=y CONFIG_X86_FIND_SMP_CONFIG=y CONFIG_X86_SMP=y Any ideas? Joel T. Osburn -- gentoo-user@gentoo.org mailing list---End Message---
Re: [gentoo-user] eth0 corrupted after power cut off when emerged world
Why the --newuse portion of the command line did you change your system or otherwise modify your USE variable? Looks like you were interrupted during install of a package (specifically baselayout). I see that you have re-emerged baselayout with no luck. If you are like me, you don't empty /usr/portage/distfiles until ... If you still have the packages that make up your system in distfiles, do this emerge -e system On Sun, 2006-05-07 at 11:39 +0800, wu chuanwen wrote: I just emerge --update --deep --newuse world and suddenly the power is cut off. Then,when i start my gentoo again,my network can't work now. The error message is : Starting eth0 ls:*.sh:No such file or directory. * no interface module has been loaded. *starting lo. /lib/rcscripts/net.modules.d/iproute2.sh does not exist ERROR:Problem starting needed service net.lo netmount was not started. Is there anybody know what is matter? -- wcw
Re: [gentoo-user] cd record does not record!
At face value, I'd guess you have a dirty lens. On Fri, 2006-05-05 at 19:26 -0300, Matias Grana wrote: hi! I'm having serious problems with cdrecord (I actually use k3b, but it calls cdrecord). Every once in a while it used not to finish recording and exiting with errors. I lowered down the speed to 8x (the burner reportedly can do a 52x) and this helped finishing burnings. But now I wasted 2 cds in a row, with 8x speed. The end of the log is below. I really don't know how to handle it. Any help? Yours truly, Matias Log: snip . Track 01: 187 of 701 MB written (fifo 100%) [buf 99%] 8.0x. Track 01: 188 of 701 MB written (fifo 100%) [buf 99%] 8.2x. /usr/bin/cdrecord: Success. write_g1: scsi sendcmd: no error CDB: 2A 00 00 01 79 16 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 08 03 00 00 Sense Key: 0x4 Hardware Error, Segment 0 Sense Code: 0x08 Qual 0x03 (logical unit communication crc error (ultra-dma/32)) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 63488 cmd finished after 0.052s timeout 200s /usr/bin/cdrecord: A write error occured. /usr/bin/cdrecord: Please properly read the error message above. write track data: error after 197701632 bytes Writing time: 190.103s Average write speed 25.7x. Min drive buffer fill was 94% Fixating... Fixating time:1.636s /usr/bin/cdrecord: fifo had 3242 puts and 3115 gets. /usr/bin/cdrecord: fifo was 0 times empty and 2968 times full, min fill was 92%.
Re: [gentoo-user] Is anyone using initramfs on Gentoo?
I do hope you have read the appropriate documentation. In the Gentoo world, we have a thing called genkernel. Genkernel receives a lot of bad publicity sometimes but it realy is a nice tool if you graduate from the simple command line. Under genkernel you have several options for building either kernel modules initramfs In fact, the default under 2.6.x kernels is to build an initramfs for you. it will also install the entire mess for you. And make the Correct entry in your grub.conf Here's the magic. if you go in and take a look at the scripts that make up genkernel, you will start to see that you can create any type of initramfs you like. For further information, RTFM On Sun, 2006-04-30 at 02:24 -0300, Norberto Bensa wrote: Hello list, I've tried to move my built-in ide (via) and rootfs (reiser) modules outside of the kernel, but when I try to boot the new kernel and its corresponding initramfs, it fails miserably with one of the following messages. If I use root=/dev/hda7 (my root): Unable to mount root fs on unknown block (3,7) If I use root=/dev/ram (that's the device in the initramfs made with mkinitrd): Unable to mount root fs on unknown block (1,0) I do this every day using Debian boxes, so why it is so hard on Gentoo? What's the correct way to make _and_ use an initramfs on Gentoo? Many thanks in advance, Norberto
Re: [gentoo-user] Re: modprobe looks in wrong dir
modules-update only updates for the running version. In order to update the new version, you could simply reboot to the new version. On Sun, 2006-04-30 at 20:32 +0200, Francesco Talamona wrote: On Sunday 30 April 2006 20:18, maxim wexler wrote: Hi group, This should be an easy fix -- if you already know! The reason many of my modules are not loading is because modprobe is looking in /lib/modules/2.6.12-r6 and not /lib/modules/2.6.16-r3 which was filled when I ran make modules_install. The link to the newer kernel is OK. Yes, I ran modules-update. [...] It seems like you compiled your kernel but forgot to execute make modules_install step. ciao Francesco -- Linux Version 2.6.16-gentoo-r4, Compiled #1 PREEMPT Wed Apr 26 06:59:58 CEST 2006 One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2007.31 Bogomips Total aemaeth
Re: [gentoo-user] ssmtp and/or mailx delivery problem
What is the senders address? That is where the first clue will be. On Thu, 2006-04-27 at 15:34 -0400, John J. Foster wrote: The following script is run as part of a nitely cron job. //garbanzo/home/festus cat /usr/bin/emerge_sync.sh #! /bin/bash ## /usr/bin/emerge_sync.sh # Sync now /usr/sbin/eix-sync 21 glsa-check --test all 21 | mailx -s GLSA check on $(hostname) [EMAIL PROTECTED] emerge world --update --deep --tree --newuse --pretend --verbose | mailx -s Updated packages for $(hostname) [EMAIL PROTECTED] This has been executing properly every night for about 7 months now. The following is what I started getting back as of last night, and a few test runs today from a CLI. send-mail: 554 [EMAIL PROTECTED]: Sender address rejected: Address locked or deactivated; see http://mail.messagingengine.com/docs/locked.html (all on one line) I use ssmtp to get mail off of my machine, and this still works fine from within mutt. /var/log/mail.* and /var/log/messages files do not provide any clues. The last system updates were: Tue Apr 25 07:20:24 2006 sys-devel/gcc-config-1.3.13-r2 Tue Apr 25 08:38:20 2006 sys-libs/glibc-2.3.6-r3 Tue Apr 25 08:38:53 2006 app-misc/pax-utils-0.1.11-r1 Tue Apr 25 08:39:32 2006 sys-apps/baselayout-1.12.0_pre18-r1 Tue Apr 25 08:40:18 2006 media-sound/alsa-headers-1.0.11 Tue Apr 25 08:43:24 2006 media-libs/alsa-lib-1.0.11 Tue Apr 25 08:44:24 2006 media-sound/alsa-utils-1.0.11 Tue Apr 25 08:44:53 2006 app-portage/portage-utils-0.1.15 Tue Apr 25 08:45:51 2006 app-editors/nano-1.3.10-r1 Tue Apr 25 08:48:15 2006 sys-fs/xfsprogs-2.7.11 Tue Apr 25 08:48:44 2006 sys-apps/memtest86+-1.65 Tue Apr 25 11:19:29 2006 net-misc/tightvnc-1.2.9-r1 However, the overnight script ran just fine after these updates Wednesday AM. Does anyone know what might be going on here? Thanks, festus
Re: [gentoo-user] no net modules will load
It would seem that you failed to configure the necessary modules for loading any of the modules you list. Also, as of kernel 2.6.13, devfs is no longer in the kernel and you must use udev. without it you will never get your devices to be recognised. I do hope you kept your old kernel around so that you can boot to it. ciao On Fri, 2006-04-28 at 19:34 -0700, maxim wexler wrote: Hi group, After running -Du gentoo-sources, I noted that /etc/modules.autoload.d/2.6 had been overwritten by a blank form. So I re-wrote it and rebooted. All, and *only* modules having to do with net stuff, ie, ppp, eth0, serial devices etc failed to load. Here's a sample from dmesg: kb ppp_generic: Unknown symbol alloc_skb ppp_generic: disagrees about version of symbol skb_queue_purge ppp_generic: Unknown symbol skb_queue_purge ppp_generic: disagrees about version of symbol __pskb_pull_tail ppp_generic: Unknown symbol __pskb_pull_tail ppp_generic: disagrees about version of symbol netif_rx ppp_generic: Unknown symbol netif_rx ppp_generic: disagrees about version of symbol alloc_netdev ppp_generic: Unknown symbol alloc_netdev ppp_generic: disagrees about version of symbol __kfree_skb ppp_generic: Unknown symbol __kfree_skb ppp_generic: disagrees about version of symbol skb_queue_head ppp_generic: Unknown symbol skb_queue_head ppp_async: Unknown symbol ppp_channel_index ppp_async: Unknown symbol ppp_register_channel ppp_async: disagrees about version of symbol skb_deque snip Similar for forcedeth, serial_8250 etc. Sound, video, timers etc all loaded OK. From the forums I found the suggestion to save .config, do a make mrproper, copy back the config and re-compile. Had no effect. So I figured, since I just downloaded the 2.6.16-r3 sources(been using 2.6.12-r6) I should just compile a fresh kernel. But that didn't work either. Here's my /etc/modules.autoload.d/kern-2.6: # /etc/modules.autoload.d/kernel-2.6: kernel modules to load when system boots. # # Note that this file is for 2.6 kernels. # # Add the names of modules that you'd like to load when the system # starts into this file, one per line. Comments begin with # and # are ignored. Read man modules.autoload for additional details. # For example: # 3c59x #ip_conntrack_ftp #ip_conntrack_irc #ip_tables #ipt_mac #ipt_REDIRECT #ipt_REJECT #ip_nat_ftp #iptable_filter #ip_nat_irc #ipt_LOG #ipt_iprange #ipt_pkttype #ipt_MASQUERADE #iptable_nat #ipt_multiport #ip_conntrack #binfmt_aout #slhc 8250 unix #af_packet cpuid snd-ac97-codec snd-intel8x0 snd snd-pcm soundcore forcedeth ppp_async ppp_generic ppp_deflate nvram bsd_comp usbcore ehci-hcd ohci-hcd usbhid usb-storage agpgart nvidia-agp loop #serport #s2io rtc #mii #acpiphp #pci_hotplug Here's a grep net from the new .config: # Networking CONFIG_NET=y # Networking options # CONFIG_NETDEBUG is not set # CONFIG_NET_KEY is not set CONFIG_INET=y # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_TUNNEL is not set # CONFIG_INET_DIAG is not set # CONFIG_INET6_AH is not set # CONFIG_INET6_ESP is not set # CONFIG_INET6_IPCOMP is not set # CONFIG_INET6_TUNNEL is not set CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set # Core Netfilter Configuration # CONFIG_NETFILTER_NETLINK is not set # CONFIG_NETFILTER_XTABLES is not set # IP: Netfilter Configuration # CONFIG_IP_NF_NETBIOS_NS is not set # IPv6: Netfilter Configuration (EXPERIMENTAL) # CONFIG_DECNET is not set # CONFIG_NET_DIVERT is not set # CONFIG_ECONET is not set # CONFIG_NET_SCHED is not set # Network testing # CONFIG_NET_PKTGEN is not set # Network device support CONFIG_NETDEVICES=y # ARCnet devices # CONFIG_ARCNET is not set # Ethernet (10 or 100Mbit) CONFIG_NET_ETHERNET=y # CONFIG_NET_VENDOR_3COM is not set # Tulip family network device support # CONFIG_NET_TULIP is not set CONFIG_NET_PCI=y # CONFIG_PCNET32 is not set # CONFIG_NET_POCKET is not set # Ethernet (1000 Mbit) # Ethernet (1 Mbit) # CONFIG_NET_RADIO is not set # CONFIG_NET_FC is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # USB Network Adapters # CONFIG_USB_USBNET is not set CONFIG_USB_GADGET_NET2280=y CONFIG_USB_NET2280=m # Network File Systems Now I'm stuck cause I can't get back on line to fix it. Unless it's from WinXP:^( -mw __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[gentoo-user] devices not being created at boot time
I am trying to upgrade to kernel 2.6.15-r1 from 2.6.12-r4. Now that we are in the brave new world of udev, My Fusion MPT 1030 scsi controller has suddenly become invisible to the kernel - read no devices being created. Platform - AMD Opteron Dual Processor 270 Tyan MoBo My favorite, LSIs lovely scsi controller Buit to i686 I have - 1) inserted sleep statements in linuxrc 2) used scandelay=X where X is some integer greater than 10 3) used doload=mptspi 4) compiled the drives into the kernel directly (mptbase, mptscsih, mptspi) 5) built other kernels 6) insert commands into linuxrc to show the state of the system as booting occurs. Gentoos boot/install cd does not recognise this hardware (It's using 2.6.15-r5) This is true using both the x86 image and the x86_64 image. However, booting to 2.6.12-r4 (devfs/udev hybrid) works fine. HELP!
Re: [gentoo-user] Re: Postfix Woes
OK, Here's how this works. Many (nearly all) primary SMTP servers on the Internet will not forward your email. The reason for this is because your ip belongs to an ISP (this means your IP is a client IP on the ISPs net). Well, one day, many moons ago a bunch of very intelligent folks got together and figured that letting people run their own mailservers was a goot way to propagate spam. So they put together a database of (among other things) ISP-Customer IPs. This is where it gets good. You see, now that you are part of the crowd, ALL of those SMTP servers on the net will see your server as an email source and drop your stuff on the floor. Pretty cool huh? Remember kiddies - RTFM On Tue, 2006-04-25 at 18:47 -0700, Erik Westenbroek wrote: no, I have a gentoo box and a windows box behind a router, and I don't want anything to do with my ISP's mail. I just mentioned the router and windows box and all that good stuff to see if 192.168.1.0/24 was right, because I don't really know how CIDR works. I just fired up mutt from my gentoo box, tried to send an email, and postfix gave me a bunch of connection timed out to smtp.freeshell.org crap. I can recieve email just fine, I'll email [EMAIL PROTECTED], and I log in and go into mutt and voila it is there, but I can't send anything. On 4/25/06, John Jolet [EMAIL PROTECTED] wrote: On 4/25/06 8:28 PM, Erik Westenbroek [EMAIL PROTECTED] wrote: From both localhost and my SDF account I get the expected 220 casusbelli.homelinux.org ESMTP Postfix. I haven't emerged iptables yet, but I'm behind a router that has a firewall installed. I'll install iptables later for ssh tarpitting, but for right now I'm doing without it. I don't know if this has anything to do with it, but I don't know if how I set hostname and domainname has anything to do with it. in /etc/conf.d/hostname, the hostname is set to casusbelli, and in /etc/conf.d/domainname, the domainname is set to osen, and I have /etc/hosts set accordingly. But I don't know what to set myhostname and mydomain to in /etc/postfix/main.cf, I tried casusbelli and osen respectivly, and then casusbelli and homelinux.org respectivly, and neither works. It is also interesting to note that the domainname of my router is not osen, but gateway.2wire.net. How should I set these values or are they fine? My net is set up that the router is at 192.168.1.254, casusbelli at 192.168.1.65, and the windows computer on the netwok is 192.168.1.64, so in main.cf, mynetworks is set to 192.168.1.0/24 127.0.0.0/8, is this correct? On 4/25/06, John Jolet [EMAIL PROTECTED] wrote: Okay, so you are attempting to send the email from a windows box, through the gentoo box to your isp email account? Is that correct? What happens if you do mail -s test [EMAIL PROTECTED] from the gentoo box. Does the mail go? Again, do the tail -f on the log. -- gentoo-user@gentoo.org mailing list -- Erik
Re: [gentoo-user] [Mayb OT]GUI client for Accessing Databases
Yeah... quite a few. pgaccess gnomedb mysqltcl mysqltcl-python (dev) mysqlnavigator many, many more... Better to write your own... too easy not to. On Mon, 2006-04-24 at 11:58 +0800, Ow Mun Heng wrote: Hi guys, Is there any available Free and Open Source GUI clients for accessing Databases? MySQL/Postgres/MSSQL/Oracle Would prefer it to not be web-based like phpmyadmin. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 11:56:42 up 2 days, 20:23, 3 users, load average: 0.79, 0.55, 0.43
Re: [gentoo-user] ndiswrapper module problem
Try # env-update #source /etc/profile DOH!!! reboot with hardware still connected :) On Sun, 2006-04-23 at 00:50 +0200, Fernando Meira wrote: On 4/22/06, Gary Walker [EMAIL PROTECTED] wrote: On 20/04/06, Fernando Meira [EMAIL PROTECTED] wrote: Hi, after updating ndiswrapper to version 1.13 i became unable to use it. I get this in dmesg: ndiswrapper: Unknown symbol wrap_suspend_urbs ndiswrapper: Unknown symbol wrap_resume_urbs Are you using a USB based wifi adapter? I got this error with 1.13 and found that adding usb to make.conf and rebuilding ndiswrapper fixed it. I'm pretty sure there is more information on the gentoo forums if you need it. Anyone knows what could be the problem? Thanks, Fernando Hi, no I'm not using USB. I'm using a PCMCIA card. The card is working without problems, unless this: # ndiswrapper -l Installed drivers: lsbcmnds driver installed, hardware present modules.ndiswrapper invalid driver! Why invalid driver?? I only noticed this after upgrading ndiswrapper to 1.13 (then it was not working). After downgrading back to 1.9, this issue persists.. but the card works as before! Fernando.