Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pappy's Kernel Seeds Part IV
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 18, 19, 20  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Mar 14, 2012 8:02 am    Post subject: Reply with quote

I've just uploaded .configs for 3.0.24-gentoo, 3.2.11, and 3.2.11-gentoo in both x86 and x86_64 flavors. Enjoy!

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Mar 16, 2012 8:38 am    Post subject: Reply with quote

I've just uploaded .configs for 2.6.32-hardened-r95 and 3.2.11-hardened in both x86 and x86_64 flavors. Enjoy!

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Mar 19, 2012 6:24 am    Post subject: Reply with quote

Another day, and a lot more sources, including a new family. I've just uploaded .configs for 2.6.27.62, 2.6.32.59, 3.0.24-tuxonice, and 3.3.0 in both x86 and x86_64 flavors. Enjoy!

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Mar 20, 2012 6:21 am    Post subject: Reply with quote

A wild and stormy night in Texas makes for an interesting ride when making seeds. I kept expecting the power to crap out... but so far, so good. I just uploaded .configs for 3.0.25, 3.2.12, 3.2.12-gentoo, and 3.3.0-gentoo in both x86 and x86_64 flavors. Enjoy!

Because of the power situation, if the main site is down in the next day or so, please use one of the listed mirrors.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Wed Mar 21, 2012 3:43 am    Post subject: Reply with quote

After some fiddling with my init file in my initramfs, since I am booting from a lvm managed engrypted raid mirror, I got my new box running:
Code:

hophni conf.d # uname -a
Linux hophni 3.2.1-gentoo-r2 #13 SMP PREEMPT Tue Mar 20 18:04:15 EDT 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux

But I can't seem to get the networking on eth0 to start at boot. :x

Here is my /etc/conf.d/net:
Code:

config_eth0="192.168.1.12 broadcast 192.168.1.255 netmask 255.255.255.0 mtu 1400"
routes_eth0="default via 192.168.1.1"

This is my first 3.x.x system, and of course I used Pappy's seeds. I don't know if I overlooked something stoopid, or if ther e is something different in the 3.x.x kernels I need to know to make this work.

Once I log in and set the ipconfig, it works fine; it just doesn't come up with the eth0 stuff set.

And yes, I did the rc-update add net.eth0 default:
Code:

hophni conf.d # rc-update show | grep net\\.
             net.eth0 |      default                 
               net.lo | boot                         

Anybody got any idea what is wrong? :?:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Mar 21, 2012 9:46 am    Post subject: Reply with quote

Moriah wrote:
After some fiddling with my init file in my initramfs, since I am booting from a lvm managed engrypted raid mirror, I got my new box running:
Code:

hophni conf.d # uname -a
Linux hophni 3.2.1-gentoo-r2 #13 SMP PREEMPT Tue Mar 20 18:04:15 EDT 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux

But I can't seem to get the networking on eth0 to start at boot. :x

Here is my /etc/conf.d/net:
Code:

config_eth0="192.168.1.12 broadcast 192.168.1.255 netmask 255.255.255.0 mtu 1400"
routes_eth0="default via 192.168.1.1"

This is my first 3.x.x system, and of course I used Pappy's seeds. I don't know if I overlooked something stoopid, or if ther e is something different in the 3.x.x kernels I need to know to make this work.

Once I log in and set the ipconfig, it works fine; it just doesn't come up with the eth0 stuff set.

And yes, I did the rc-update add net.eth0 default:
Code:

hophni conf.d # rc-update show | grep net\\.
             net.eth0 |      default                 
               net.lo | boot                         

Anybody got any idea what is wrong? :?:


My first thought would be drop the mtu part. I say that only because it's unfamiliar to me. If that doesn't swing things around to happy, then I'd have to see your .config to see if there's anything obviously wrong.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Mar 21, 2012 9:48 am    Post subject: Reply with quote

The "post reply" button is broken again. Just letting those who need to know know.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Wed Mar 21, 2012 2:28 pm    Post subject: Reply with quote

That "Post Reply" button sometimes fails if you hit it before you login... :roll:

The MTU is Maximum Transmission Unit, and sets the length of the longest packet size allowed over that NIC. I need this because of VPN tunnel overhead, and I use it on lots of other machines with no problem. After I log in, I can manually set the port with:
Code:

ifconfig eth0 192.168.1.12 mtu 1400

and it works fine, so I am thinking its maybe some kind of race condition in th 3.x.x kernel that tries to init the port before the port is really ready for it.

I was wondering if anyone else had seen anything like this. If no answer here, then I'll post on the main board. :?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Mar 21, 2012 5:55 pm    Post subject: Reply with quote

I remain "permanently" connected to the forums since I don't log out here, I just move on to the next page on my list.

As for your issue, which NIC are you using? That might give a clue as to a possible kernel issue, such as a regression bug. Right now, all of my machines except the web server laptop are running 3.x kernels. I have no issues, at least none that I can point to and say, "you are caused by the 3.x kernel series."

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Wed Mar 21, 2012 6:15 pm    Post subject: Reply with quote

It's not the NIC, because I can manually run ifconfig after I login right after the boot and everything is fine. I've done a little digging, and it seems thatsome other stuff is not starting up at boot up time either. Here is what should start:
Code:

hophni ~ # rc-update show
             bootmisc | boot                         
                devfs |                       sysinit
                dmesg |                       sysinit
                 fsck | boot                         
             hostname | boot                         
              hwclock | boot                         
              keymaps | boot                         
            killprocs |              shutdown       
                local |      default                 
           localmount | boot                         
              modules | boot                         
             mount-ro |              shutdown       
                 mtab | boot                         
             net.eth0 |      default                 
               net.lo | boot                         
             netmount |      default                 
               procfs | boot                         
                 root | boot                         
            savecache |              shutdown       
                 sshd |      default                 
                 swap | boot                         
               sysctl | boot                         
            syslog-ng |      default                 
         termencoding | boot                         
                 udev |                       sysinit
       udev-postmount |      default                 
              urandom | boot                         
           vixie-cron |      default                 

I looked over /var/log/dmesg and the eth0 driver got loaded. Then I went to look at /var/log/messages and... *WAIT* !!! There *IS* no /var/log/messages! Did syslog-ng not start up either? A quick ps awfxu shows that syslog-ng and vixie-cron both failed to start. So it looks like a problem with the stuff rc-update controls.

So now do you have any ideas? Is there something I have to do in 3.xx that I did not have to do in 2.xx to get rc-update scheduled stuff to work?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44150
Location: 56N 3W

PostPosted: Wed Mar 21, 2012 11:25 pm    Post subject: Reply with quote

pappy_mcfae,

What is kernel seeds view of udev-181 and systems with a separate /usr?
Will kernel-seeds support a separate /usr with an initrd or is the official view that its not supported?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Thu Mar 22, 2012 12:47 am    Post subject: Reply with quote

Neddy, it seems to me that the use of an initramfs (new name for initrd) is independent of whether you are using the seeds or not. I almost always use an initramfs for one reason or another, and I now always (since several years ago) use the seeds for my kernels. It used to be that rolling your own initrd with red hat nash or whatever was a black art, but now its really quite routine. Most of the utilities you would use in an initramfs can be built with a static option, which greatly simplifies things. I remember spending days getting an initrd to work back around 2004 or so, but now the wiki article on initramfs at http://en.gentoo-wiki.com/wiki/Initramfs is quite easy to follow. Setting up a system with a separate /usr filesystem should be no problem for all but those new to gentoo and linux in general. 8)
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Thu Mar 22, 2012 12:50 am    Post subject: Reply with quote

BTW Neddy, do yu have any idea why the startup stuff set by rc-update seems to not be working quite right on my new system? See the description in the above few posts by me for the description of the problem.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Thu Mar 22, 2012 1:36 am    Post subject: Reply with quote

Never mind! I got it. Apparently when building the system, I had been sloppy about setting the date, and so some file dates on the files that rc-update specifies to run had wacky dates on them. An rc-update -d fixed it. Everything works now. :D
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Thu Mar 22, 2012 3:48 am    Post subject: Reply with quote

I have noticed another weirdness with this new system. I boot from a USB stick so the root filesystem can be on a luks encrypted raid-0 mirrored pair of 1 tb hot swapable sata drives under lvm with no partition table. The usb stick stays plugged in pretty much all the time. It has a hardware write-protect switch, which I turn on after I have it written with a working kernel, initramfs, and grub. When it boots, the initramfs prompts for a luks pass phrase. After the pivot root, this drive has no reason to be accessed again.

Yet when linux is booted and running, the activity led on the usb stick shows a lot of accesses. 8O

I have found that if I mount /boot -- thereby mounting the usb stick, then the access led stays dark.

What is going on that the usb stick gets hammered with activity when it is not even mounted? :?:

Anybody know what is going on here? :?: :?: :?:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Mar 22, 2012 5:54 am    Post subject: Reply with quote

NeddySeagoon,

Kernel seeds officially doesn't support initramfs or initrd.

Genkernel does; however, and can supply an initrd. You can tweak the kernel seed in a separate window, and once you like what you have, you can tell genkernel to compile the .config you created, and include the desired initrd. You don't necessarily have to create a module monster to use initrd or genkernel.

I actually tried genkernel when I was having some issues with a SCSI card with an unwillingness to load its own firmware. While the solution to the problem didn't include a forced initrd, I did learn enough to know that genkernel will create a functional initrd with relative ease.

I'm glad I only use alternate partitions for /var/www. I only used that setup on one machine.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Mar 22, 2012 6:05 am    Post subject: Reply with quote

Moriah wrote:
Anybody know what is going on here? :?: :?: :?:


My first thought would be to pull the stick once booting is done booting... while it's being weird, and see what program complains. It's kind of a brute force thing, but it might just work.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Thu Mar 22, 2012 1:00 pm    Post subject: Reply with quote

My suspicion is that it is something triggered by udev and usb -- trying to figure out what that device is. This is a server, and I will not always be within reach of it to pull the stick, which is why it needs to stay plugged in all the time. My laptop boots the same way, but uses a 2.x.x kernel, and although I usually pull the stick right after it boots, sometimes I get distracted and it stays in for a while. I have never seen this unexplained activity on the 2.xx laptop, only the 3.xx server.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Thu Mar 22, 2012 1:01 pm    Post subject: Reply with quote

I tried using genkernel a few yeasr back and was quite dissapointed in it. It gives you nowhere the flexibility of rolling your own initrd/initramfs, but then I am doing some weird things too. :wink:

Just for the curious, here is the init script from my initramfs on my latest 3.x.x server:
Code:

#!/bin/busybox sh

echo Mounting /proc
mount -t proc none /proc
sleep 5

echo Starting raid arrays
#raidautorun /dev/md0
mdadm -A -f /dev/md0 /dev/sda /dev/sdb
sleep 5

echo Mounting /sys
mount -t sysfs none /sys
sleep 5

echo Creating devices
echo /sbin/mdev > /proc/sys/kernel/hotplug
mdev -s
sleep 5

echo Doing luksOpen
cryptsetup luksOpen /dev/md0 cryptoraid
sleep 5

echo Doing vgscan
lvm vgscan --mknodes
sleep 5

echo Doing vgchange
lvm vgchange -a y
sleep 5

echo Mounting root
mount /dev/mapper/gentoo-rootfs /mnt/root
sleep 5

echo Unmounting /proc and /sys
umount /proc
umount /sys
sleep 5

set +vx

echo Doing the pivot root
exec switch_root /mnt/root /sbin/init

echo OOPS!
sleep 30


Because this system runs a raid-0 mirror on the bare unpartitioned drives, and uses luks for encryption, and lvm on top of that, all without any partitioning at all, I cannot use the raidautomount command built into busybox, but must use mdadm instead. The utilities busybox, cryptsetup \, lvm, and mdadm are all emerged with USE=static so I do not need any libraries in the initramfs. The sleeps and echos are in there to aid debug and help me see what is happening in case anything goes wrong. I do not use them on my laptop, so it will boot as fast as possible. This is a server, and it should not boot very often anyway. 8)
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Mar 22, 2012 9:42 pm    Post subject: Reply with quote

My attempts with genkernel only made me glad I run systems without a need for initrd. When I was in slack-land, initrd was needed in order for certain things to operate properly. Suffice it to say that when I landed in Gentoo land, and everything worked just fine without intird, I more or less gave up on learning more about initrd.

As for the server with the weird issues, I would do a quick check for bugs associated with the 3.x version you're using. The ground you're covering might have already been trodden. If not that, it's going to be the good old trial and error method to figure out the issue.

Is there a kernel you have setup for the machine in question that doesn't do this? If so, that would provide clues if you post a bug report.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Thu Mar 22, 2012 10:22 pm    Post subject: Reply with quote

No, no other kernel has been built for this box, as it is a new machine. By mounting the usb drive, the symptoms went away, and right now, I need to finish setting this machine up to be my new web server, so the usb flash drive weirdness will just have to wait. Everything else seems to be working fine now, thaks to the wonderful seeds! :D
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Mar 23, 2012 6:12 am    Post subject: Reply with quote

I misread that a bit. Oh well, it's been one of those days. I'm always glad to help, and even happier that I have so many loyal seed users.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sat Mar 24, 2012 10:31 am    Post subject: Reply with quote

I offer up a straggler, and a few others a bit less straggled. I've just uploaded .configs for 2.6.34.11, 3.0.26, 3.0.26-gentoo, 3.1.10, and 3.2.13 in both x86 and x86_64 flavors. Enjoy!

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Mar 27, 2012 7:47 am    Post subject: Reply with quote

Another day, some more source. I've just uploaded .configs for 2.6.32-hardened-r96, 3.2.12-hardened, and 3.0.26-tuxonice in both x86 and x86_64 flavors. I also found that 3.0.22-tuxonice-x86-08.config was set for x86_64. I replaced it with the proper 32 bit version. Enjoy!

As an aside, if anyone notices files that aren't correct (ie, 32 bit in the 64 bit area, or vice versa) please don't hesitate to tell me about that. While I have a decent creation process going that is almost virtually mistake-free, mistakes do happen. I want to be sure that the seeds are as correct as I can make them. Thanks.

Also, if anyone out there has a HP G61 laptop with a broken display or other issues, but the motherboard is still good, I've recently come across a G61 with a bad mobo, and I'd like to replace it as cheaply as possible. Even better, if someone has access to a schematic for that mobo, that would really rock. The mobo is a no go when it comes to powering up. I'd like to turn this machine into the web server, and use the G61 as my primary system. That won't happen until I can find a seriously cheap mobo for it.

Of course, I also take monetary donations. I really want to move the web site to a more stable laptop than what is currently running the site. Since this machine is really stable, and that G61 lappy looks like it really wants to have a fresh Gentoo setup, a cheap mobo would go quite some distance in making it all happen. Your help making that happen would be fantastic.

Cheers, and thanks in advance to anyone who can help with that lappy,
Pappy

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2118
Location: Kentucky

PostPosted: Thu Mar 29, 2012 4:29 am    Post subject: Reply with quote

I'm a bit curious. Why are you using a laptop for your web server instead of a cheap second hand used desktop? Good business grade Dell/HP/Gateway/etc desktops are available for good prices after they come off lease and the original owners dump them. The prices are especially good if you don't need the M$ operating system license. I am currently running 7 of these boxes as routers, servers, print spoolers, and workstations. Laptops are better used for those cases when you need to carry them around with you. ;-)
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 18, 19, 20  Next
Page 9 of 20

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum