Re: [PLUG] Question About Module Loading
Did you remake the initrd image? Depending on your settings it's possible the module is getting loaded by initrd before the normal module loading takes place. This is more common with scsi modules but I've had it happen with ethernet cards on some distros that support running with root of an NFS server. On Thursday 24 December 2009 09:30:05 pm Mark Phillips wrote: I just installed Debian stable (2.6-amd64 kernel) on a machine. I had to remove the kernel module for the Ethernet card and add a different one. The new module compiled etc and works. However, I had a problem preventing the old module from loading. There was no modprobe.conf file, but instead a directory modprobe.d with a lot of files in it. However, I could not find the expected alias line with the bad module's name. I finally googled a solution, and I am curious if this is the new way to disabling a kernel module: I created a file in /etc/modprobe.d/ called 00local. That file has one line: install r8169 /bin/true. This prevented the module r8169 from being loaded. I grepped all of /etc/ looking for r8169 and could not find where it was being loaded. I am so confused G'night and Happy Holidays to everyone! Mark ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug -- Dwight Hubbard Owner Effective Automation Solutions Website: http://effectiveautomationsolutions.com Email: dwi...@dwighthubbard.com Phone: (503) 941-0327 Redhat Certified Engineer - RHCE #804007137224095 VMware Certified Professional - VCP #18529 ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
On Sun, Dec 27, 2009 at 10:55 PM, Michael Robinson plu...@robinson-west.com wrote: On Sun, 2009-12-27 at 21:13 -0800, Daniel Johnson wrote: The other diskless machine on another nic off of the same server, dodo, boots just fine by the way. Is something obviously wrong in my dhcp config file or am I looking at a problem with the switch? DHCP worked when I was using a 10BaseT hub which makes me wonder if the line can't support 100baseTX. It could be a problem with autoconfiguring the speed, and duplex of the connection. I've had two switches decide on different modes, and thus get a broken network. When one side is a dumb 10 megabit hub it doesn't try to negotiate, so you never have to worry about that problem. If you can force it into different modes try that. I forced the server to half duplex using ethtool, but I can't force the client to go to half duplex. Put the 10Mbit dumb hub back in, dhcp worked like a charm and the machine network booted no problem. I wonder if being a switch it was blocking the dhcp replies? I should in theory be able to pull the hub and replace it with a crossover coupler. I'm starting to think that the switch I was trying to use is bad or maybe I need a 100 megabit per second hub instead. Thing is, I use another DSS5+ switch with a linksys wireless WAP11 plugged into it that configures via dhcp no problem. I'm not sure what the issue is here. Just to double check, 190' is within the range limitations for 100BaseTX, right? ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug Yes, up to 300' in the accepted range. I don't think Daniel nor was I referring to the client/server but the switch itself. Most switches are auto sensing the link speed and do just fine, without knowing what kind of switch it is and what capabilities it has, it's hard to say what count be causing the problem. Could be VLAN's, could be auto sense not working, could be an ACL .. but without knowing what hardware it is, hard to say. Drew- ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
Michael Robinson wrote: I wonder if being a switch it was blocking the dhcp replies? Switches don't block broadcast protocols like DHCP. Routers do and if DHCP traffic has to traverse a different network than a DHCP proxy must be configured. However, there are a couple of cases where dhcp requests/replies could be inadvertently blocked. 1. The DHCP client and dhcp server are on different VLANs. 2. Spanning Tree port configuration is another. With regular spanning tree (8021.d), the switch port could be in blocking mode while the spanning tree is being mapped out and therefore any DHCP traffic will not pass thru the port. As best practice we always configured the switch ports with rapid spanning tree (802.1w), so that spanning tree convergence happened faster and didn't impact dhcp requests. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
On Mon, 2009-12-28 at 01:12 -0800, Mike Connors wrote: Michael Robinson wrote: I wonder if being a switch it was blocking the dhcp replies? Switches don't block broadcast protocols like DHCP. Routers do and if DHCP traffic has to traverse a different network than a DHCP proxy must be configured. However, there are a couple of cases where dhcp requests/replies could be inadvertently blocked. 1. The DHCP client and dhcp server are on different VLANs. 2. Spanning Tree port configuration is another. With regular spanning tree (8021.d), the switch port could be in blocking mode while the spanning tree is being mapped out and therefore any DHCP traffic will not pass thru the port. As best practice we always configured the switch ports with rapid spanning tree (802.1w), so that spanning tree convergence happened faster and didn't impact dhcp requests. No VLANS are in use. I am running DHCP 3 server on CentOS 5.3 listening on an actual Netgear FA311 network card with an actual Cat5e UTP cable running 100' into the attic where at this point I go to a 10BaseT hub and from there I continue on with a Cat5 STP cable outside, underground, back above ground, and into another building where I terminate at another FA311 network card in my diskless server. I tried to replace the Dlink hub with a Netgear DSS5+ 5 port switch. I guess my switch is faulty. It seems unlikely that the cables themselves didn't handle 100BaseTX transmission okay. Obviously there was some networking from the diskless client to the server at 100BaseTX, but somehow the switch broke DHCP. Put the slow dumb hub back in, works just fine. Trouble is, I want the higher speed because I'm extending with 802.11g outdoor access points. I'm thinking of getting a cable joiner that also acts as a crossover device and using that instead of a hub or switch. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
Michael Robinson wrote:I tried to replace the Dlink hub with a Netgear DSS5+ 5 port switch. I guess my switch is faulty. It seems unlikely that the cables themselves didn't handle 100BaseTX transmission okay. Obviously there was some networking from the diskless client to the server at 100BaseTX, but somehow the switch broke DHCP. Put the slow dumb hub back in, works just fine. It is possible that the switch is faulty, however my experience with auto-negotiation is that each vendor (hub, switch, network card) interpret and implement the N-WAY standards differently. Does the D-Link hub support auto-negotiation? That could explain why the hub works and the switch doesn't. If the hub doesn't support auto-neg then both ends of the connection will fall back to 10mbps half-dup and all is well. If auto-negotiation isn't configured the same on both the switch port and NIC then there will be duplex mismatch errors. A telltale sign of duplex mismatch is Ethernet errors such as Frame Check Sequence errors, late collisions, and runts. You can use the 'ethtool' command to look at Ethernet interface error counters. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] Help - Just Hosed My Grub 2 Install and Can't Boot
I was just finishing a new Debian squeeze install on a new laptop, and the last step was updating grub to grub 2. I went through update-from-grub-legacy, but I hit return before I ticked the box for sda. Now my system won't boot - I get error 15 when it starts up with grub. I am sure I just wiped out the old grub and did not install the new one. Any suggestions on how to go back and fix this problem? I can't boot into either windows or Debian. Thanks! Mark ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Help - Just Hosed My Grub 2 Install and Can't Boot
On Mon, 28 Dec 2009, Mark Phillips wrote: Date: Mon, 28 Dec 2009 08:35:54 -0700 From: Mark Phillips m...@phillipsmarketing.biz Reply-To: General Linux/UNIX discussion and help;civil and on-topic plug@lists.pdxlinux.org To: Phoenix Linux Users plug-disc...@lists.plug.phoenix.az.us, Portland Linux Users Group plug@lists.pdxlinux.org Subject: [PLUG] Help - Just Hosed My Grub 2 Install and Can't Boot I was just finishing a new Debian squeeze install on a new laptop, and the last step was updating grub to grub 2. I went through update-from-grub-legacy, but I hit return before I ticked the box for sda. Now my system won't boot - I get error 15 when it starts up with grub. I am sure I just wiped out the old grub and did not install the new one. Any suggestions on how to go back and fix this problem? I can't boot into either windows or Debian. Thanks! Mark Here are some steps to follow: 1. Boot from a linux CD (knoppix, finnux, etc). 2. Mount the root filesystem: cd /mnt mkdir sda3 (assuming this is name of your root partition) mount /dev/sda3 sda3 3. cd into the root filesystem mount point, and then mount the boot partition (if your /boot resides on its own partition): cd sda3 mount /dev/sda1 boot 4. Just to be safe, mount /dev and /proc: mount -t proc none proc mount -o bind /dev dev 5. chroot into your root filesystem: chroot . /bin/bash source /etc/profile 6. Run the command grub to enter the interactive grub shell. 7. Once in the grub shell, type the following grub commands: root (hd0,0) setup (hd0) quit 8. Type exit to exit the chroot. 9. Unmount all mount points you have previously mounted: umount boot dev proc cd .. umount sda3 10. Reboot. Take the CD out. Enjoy! Carlos ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] A Subversion Question
I'm a new Subversion user, so be gentle. OK. In Subversion you can check out a bunch of files, which creates a working copy. But I know you can also grab that same group of files without Subversion setting up the working copy, which is handy when you're releasing code from a tag and don't intend to ever, ever change it. I've done it. I've found how to do it in the documentation. It's probably dead simple. But I can't find it! Augh! Any clues for the clueless? I know I can just do a check out and manually delete Subversion's tracking files, but I'd really rather remember how to do it 'right'. Thanks. -- Tim Wescott Wescott Design Services Voice: 503-631-7815 Cell: 503-349-8432 http://www.wescottdesign.com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] A Subversion Question
Tim Wescott wrote: I'm a new Subversion user, so be gentle. OK. In Subversion you can check out a bunch of files, which creates a working copy. But I know you can also grab that same group of files without Subversion setting up the working copy, which is handy when you're releasing code from a tag and don't intend to ever, ever change it. I've done it. I've found how to do it in the documentation. It's probably dead simple. But I can't find it! Augh! Any clues for the clueless? I know I can just do a check out and manually delete Subversion's tracking files, but I'd really rather remember how to do it 'right'. This is called doing an export of the code. So instead of doing an svn co you do an svn export. Scott -- Scott Garman sgarman at zenlinux dot com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] A Subversion Question
Scott Garman wrote: Tim Wescott wrote: I'm a new Subversion user, so be gentle. OK. In Subversion you can check out a bunch of files, which creates a working copy. But I know you can also grab that same group of files without Subversion setting up the working copy, which is handy when you're releasing code from a tag and don't intend to ever, ever change it. I've done it. I've found how to do it in the documentation. It's probably dead simple. But I can't find it! Augh! Any clues for the clueless? I know I can just do a check out and manually delete Subversion's tracking files, but I'd really rather remember how to do it 'right'. This is called doing an export of the code. So instead of doing an svn co you do an svn export. Scott Ah! Now that's stunningly obvious! (gee I feel stupid). Thanks. I have no trouble with the hard parts -- it's the easy parts that trip me up. -- Tim Wescott Wescott Design Services Voice: 503-631-7815 Cell: 503-349-8432 http://www.wescottdesign.com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] A Subversion Question
Tim Wescott wrote: This is called doing an export of the code. So instead of doing an svn co you do an svn export. Scott Ah! Now that's stunningly obvious! (gee I feel stupid). Thanks. I have no trouble with the hard parts -- it's the easy parts that trip me up. While it was a simple question, I don't think it was a stupid one. If you don't know the term to describe something, that makes it a lot harder to find your answer online. I'm a git newbie myself and I know I've asked a lot of questions like this to folks on IRC. Scott -- Scott Garman sgarman at zenlinux dot com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
On Mon, Dec 28, 2009 at 1:22 AM, Michael Robinson plu...@robinson-west.com wrote: No VLANS are in use. I am running DHCP 3 server on CentOS 5.3 listening on an actual Netgear FA311 network card with an actual Cat5e UTP cable running 100' into the attic where at this point I go to a 10BaseT hub and from there I continue on with a Cat5 STP cable outside, underground, back above ground, and into another building where I terminate at another FA311 network card in my diskless server. I tried to replace the Dlink hub with a Netgear DSS5+ 5 port switch. I guess my switch is faulty. It seems unlikely that the cables themselves didn't handle 100BaseTX transmission okay. Obviously there was some networking from the diskless client to the server at 100BaseTX, but somehow the switch broke DHCP. Put the slow dumb hub back in, works just fine. Trouble is, I want the higher speed because I'm extending with 802.11g outdoor access points. I'm thinking of getting a cable joiner that also acts as a crossover device and using that instead of a hub or switch. In my google search and a search of Netgear's web site I don't find a DSS5+5. I do find a D-Link DSS5+5. Also the link lights on the switch are for just one set of wires. You will need to check the link status on both ends. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
On a hunch after verifying that it still works when I use a 10Mbit hub, I replaced the hub with a crossover coupler. That is, I used something that is almost equivalent to a 100Mbit hub with 2 ports. It isn't working where I'm seeing the same symptoms. What could be making this work at 10Mbit but not at 100Mbit? The first line in the first building is 100' of Cat5e UTP cable, the second line is 90' of at least Cat5 STP cable. I'll have to check the lights on both ends. It just seems odd, I have a Netgear FA311 nic on both ends so they should be able to talk to each other. I have a new Netgear switch, but I don't want to open it unless I can't get this working. I wish I had some way of verifying that the line can operate at 100 Mbps. I'm wondering if the Cat5 STP cable is having problems. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
Michael Robinson wrote: I'm wondering if the Cat5 STP cable is having problems. If I were working on this problem, the 1st thing I'd do is use the ethtool command to look at the physical Ethernet statistics on both sides. If there's any problems at the physical layer you'll see them reflected in error counters. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
On Mon, 2009-12-28 at 15:28 -0800, Mike Connors wrote: Michael Robinson wrote: I'm wondering if the Cat5 STP cable is having problems. If I were working on this problem, the 1st thing I'd do is use the ethtool command to look at the physical Ethernet statistics on both sides. If there's any problems at the physical layer you'll see them reflected in error counters. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug Trouble is, the other end doesn't boot if this doesn't work. I was seeing packet errors on the far end though before I tried to reformat the etherboot disk. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
On Mon, Dec 28, 2009 at 3:43 PM, Michael Robinson plu...@robinson-west.comwrote: On Mon, 2009-12-28 at 15:28 -0800, Mike Connors wrote: Michael Robinson wrote: I'm wondering if the Cat5 STP cable is having problems. If I were working on this problem, the 1st thing I'd do is use the ethtool command to look at the physical Ethernet statistics on both sides. If there's any problems at the physical layer you'll see them reflected in error counters. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug Trouble is, the other end doesn't boot if this doesn't work. I was seeing packet errors on the far end though before I tried to reformat the etherboot disk. So boot the other end, then switch the hardware. -wes ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting DHCP...
On Mon, Dec 28, 2009 at 3:43 PM, Michael Robinson plu...@robinson-west.com wrote: Trouble is, the other end doesn't boot if this doesn't work. I was seeing packet errors on the far end though before I tried to reformat the etherboot disk. Can you boot that machine off a Live CD? It would give you a lot more tools to work with on that end. Steve D... -- Every perception is a gamble Robert Anton Wilson ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Logitech MK700 Linux...
On Sat, 2009-12-26 at 00:08 -0800, Michael Robinson wrote: I got a wireless desktop keyboard and mouse for Christmas. I'm wondering if it is at all possible to map the special keys under Linux? The scroll lock doesn't seem to work. The keyboard is designed for Windows XP and later, typical. Logitech really should consider Linux support. I did something similar recently. Started by using xev to get the scancodes, then used xmodmap to set keysyms. These exist for all of the multimedia keys on my keyboard (e.g. XF86Mail, note these are arbitrary, yhou can bind any key to them so for instance I've got the calculator key bound to XF86Terminal). I then use xbindkeys to launch applications on key press. Within that I use another package called xte to simulate mouse events. This enables me to have the volume knob act as a scroll wheel (for use with Ardour) but you might find it useful for the various rocker/scroll switches if they aren't doing anything. Paul M ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] A Subversion Question
# from Scott Garman # on Monday 28 December 2009 11:28: svn export. Ah! Now that's stunningly obvious! While it was a simple question, I don't think it was a stupid one. If you don't know the term to describe something, that makes it a lot harder to find your answer online. I have to give svn learnability points for `svn help` listing all of the possible commands (unlike `git help` which barely scratches the surface of what you see in `git-^I`.) --Eric -- ... unsustainable. And that word means something -- it doesn't just mean we don't like it. --Michael Pollan --- http://scratchcomputing.com --- ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] A Subversion Question
Eric Wilhelm wrote: I have to give svn learnability points for `svn help` listing all of the possible commands (unlike `git help` which barely scratches the surface of what you see in `git-^I`.) And if that weren't enough, there's is this lil' gem also... http://svnbook.red-bean.com/en/1.4/svn-book.html ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] A Question About Locales/Languages
Mark Phillips wrote: Actually, I found the solution for gnome by looking through the menus, except it does not paint a nice keyboard layout on the screen. Add the keyboard-indicator to the gnome panel and then edit the keyboard preferences to add a German/Spanish keyboard layout. No cute flags, just letters (USA, EU, etc) and no keyboard layout on screen. But close. I think once you have the keyboard layout set, you just need to use the assistive technology to get an onscreen keyboard. KDE and GNOME both support this. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] A Question About Locales/Languages
Mark Phillips wrote: I forget to say I use gnome. There must be a better way than fooling with with the console to set this up? Actually, I found the solution for gnome by looking through the menus, except it does not paint a nice keyboard layout on the screen. Add the keyboard-indicator to the gnome panel and then edit the keyboard preferences to add a German/Spanish keyboard layout. No cute flags, just letters (USA, DEU, etc) and no keyboard layout on screen. But close. If you add the Keyboard Indicator applet to the GNOME panel, you can right-click on it and select Show Current Layout. Is that what you're looking for? Scott -- Scott Garman sgarman at zenlinux dot com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] NFSROOT problems...
I'm trying to create a new kernel to boot from. The old kernel has ACPI support and it is locking up on boot. I'm trying to compile a 2.6.27.39 kernel and the bzImage file is too big. I need it to be 1.4 megs or smaller where I'm 200k too big. Is there any way around this limitation that etherboot seems to impose? ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] NFSROOT problems...
On Mon, Dec 28, 2009 at 10:08 PM, Michael Robinson plu...@robinson-west.com wrote: I'm trying to create a new kernel to boot from. The old kernel has ACPI support and it is locking up on boot. I'm trying to compile a 2.6.27.39 kernel and the bzImage file is too big. I need it to be 1.4 megs or smaller where I'm 200k too big. Is there any way around this limitation that etherboot seems to impose? ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug Make everything but what is absolutely necessary modular? ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] A Question About Locales/Languages
On Mon, 28 Dec 2009 21:09:08 -0700 Mark Phillips m...@phillipsmarketing.biz dijo: One of my daughter's has a Mac and it has a neat feature that allows her to switch languages for her keyboard so she can type in Spanish in openoffice. When she switches to Spanish, a nice keyboard map appears on the screen so she can see where the special characters are located (i.e. the n-tilde is right next to the L key). This does not switch all the menus etc to Spanish. It just switches the keyboard to a Spanish keyboard. The display of the Spanish keyboard on the screen is really important. Is there a way to configure Debian so there is a little country flag in the tool bar so I can switch my keyboard from English to German and get a small keyboard map for the German keys? I'm not sure if we have what you need, but go here: http://ipa4linguists.pbworks.com/FrontPage And check out Mapping Your Keyboard. There is a Linux link to Tavultesoft. Some of the other pages may be useful as well, as there are lots of other ways to enter non-US-English characters without remapping your keyboard. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug