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 ... 15, 16, 17, 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: 5997
Location: Pomona, California.

PostPosted: Tue Jun 12, 2012 1:00 am    Post subject: Reply with quote

A few new sources came up in portage, and at kernel-dot-org. I've just uploaded .configs for 2.6.32-hardened-r109, 3.2.19-hardened-r1, 3.2.20, and 3.4.1-hardened in both x86 and x86_64 flavors. Updated on-line resume. 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: 5997
Location: Pomona, California.

PostPosted: Mon Jun 18, 2012 3:54 am    Post subject: Reply with quote

I've just uploaded .configs for 3.0.33-tuxonice, 3.0.35, 3.4.2-gentoo, 3.4.2-gentoo-r1, and 3.4.3 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
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Mon Jun 18, 2012 4:43 pm    Post subject: Reply with quote

pappy_mcfae wrote:
3.4.3


Yo McAfee...can U help me? I wanna use U kernel but got ordeals with gentoo-sources: https://forums.gentoo.org/viewtopic-t-924714-highlight-.html

always same story

so take a look at that post and say something...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Jun 18, 2012 9:20 pm    Post subject: Reply with quote

john-doe,

Your kernel cannot mount the root filesystem as the filesystem driver is missing from the kernel.

Boot your old kernel, get into
Code:
make menuconfig
and use the search function (press /) then enter ext4
Ext4 must be set to <*>

Fix that then rebuild and rinstall your kernel.

Since you are now a part of the gentoo community, please file a bug at bugs.gentoo.org about the documenation.
That will bring it to the document teams attention. If you have the time and skill, please post a patch with the bug that will fix it.
_________________
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
pappy_mcfae
Watchman
Watchman


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

PostPosted: Mon Jun 18, 2012 9:51 pm    Post subject: Reply with quote

John Doe,

In order for me to set up a kernel, I need you to post the results of lspci -n and cat /proc/cpuinfo, as well as your /etc/fstab file. Also, post your .config file using pastebin.com. Don't post the .config directly here as it uses a lot of space.

Also, you might want to take the time to realize that this is a business style forum. With that in mind, try to minimize the chunky writing and silliness. Just a suggestion.

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: 5997
Location: Pomona, California.

PostPosted: Tue Jun 19, 2012 8:23 am    Post subject: Reply with quote

The sources never stop! I've just uploaded .configs for 2.6.32-hardened-r111, 3.2.20-hardened-r1, 3.4.3-gentoo, and 3.4.3-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
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Tue Jun 19, 2012 7:43 pm    Post subject: Reply with quote

Code:
# lspci -n                                                                                   
00:00.0 0600: 8086:2580 (rev 04)                                                                 
00:02.0 0300: 8086:2582 (rev 04)                                                                 
00:02.1 0380: 8086:2782 (rev 04)                                                                 
00:1c.0 0604: 8086:2660 (rev 03)                                                                 
00:1c.1 0604: 8086:2662 (rev 03)                                                                 
00:1d.0 0c03: 8086:2658 (rev 03)                                                                 
00:1d.1 0c03: 8086:2659 (rev 03)                                                                 
00:1d.2 0c03: 8086:265a (rev 03)                                                                 
00:1d.3 0c03: 8086:265b (rev 03)                                                                 
00:1d.7 0c03: 8086:265c (rev 03)                                                                 
00:1e.0 0604: 8086:244e (rev d3)                                                                 
00:1e.2 0401: 8086:266e (rev 03)                                                                 
00:1f.0 0601: 8086:2640 (rev 03)                                                                 
00:1f.1 0101: 8086:266f (rev 03)                                                                 
00:1f.2 0101: 8086:2651 (rev 03)                                                                 
40:00.0 0200: 14e4:1677 (rev 01)

Code:
# cat /proc/cpuinfo                                                                           
processor       : 0                                                                               
vendor_id       : GenuineIntel                                                                   
cpu family      : 15                                                                             
model           : 3                                                                               
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz                                               
stepping        : 4                                                                               
microcode       : 0x13                                                                           
cpu MHz         : 2994.290                                                                       
cache size      : 1024 KB                                                                         
physical id     : 0                                                                               
siblings        : 2                                                                               
core id         : 0                                                                               
cpu cores       : 1                                                                               
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr
bogomips        : 5988.58
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 4
microcode       : 0x13
cpu MHz         : 2994.290
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr
bogomips        : 5988.58
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

Code:
#/dev/BOOT      /boot      ext2      noauto,noatime   1 2
/dev/sda3      /      ext4      noatime      0 1
/dev/sda2      none      swap      sw      0 0
/dev/sda4               /home           ext4            noatime         0 0
#/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Wed Jun 20, 2012 6:12 am    Post subject: Reply with quote

I need your .config file. Post it to pastebin, and send the URL.

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: 5997
Location: Pomona, California.

PostPosted: Wed Jun 20, 2012 8:32 am    Post subject: Reply with quote

I've just uploaded .configs for 3.0.35-gentoo and 3.2.21 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
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Fri Jun 22, 2012 8:23 am    Post subject: USB power Reply with quote

Hi,
I have an old AMD K7 based machine with USB 1.1 ports. And a USB keyboard with extra USB ports on it.

Here is the situation:
I was doing a major rewamp of it and booted the machine using knoppix boot-cd. I noticed that my USB key, works when I plug it into the port on the keyboard.
Normally (when using my own kernel) I have to plug it into the port on the machine, otherwise it complains of not enough power (in dmesg).

I assume there is something in the knoppix kernel config that makes enough power available on this usb port on the keyboard. Any idea what it is? There are some power related settings in the usb section, but I don't know what sort of values to use and if there are other less obvious settings I need.

Mons
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jun 22, 2012 4:43 pm    Post subject: Reply with quote

monsm,

I suspect that Knoppix ignores the overcurrent condition.
_________________
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
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sat Jun 23, 2012 6:44 am    Post subject: Reply with quote

Lots of new sources tonight. I've just uploaded .configs for 2.6.32-hardened-r112, 3.0.36, 3.2.2-hardened, 3.3.8-gentoo, 3.3.8-gentoo-r1, 3.4.3-hardened-r1, and 3.4.4 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: 5997
Location: Pomona, California.

PostPosted: Sun Jun 24, 2012 10:03 pm    Post subject: Reply with quote

It's a Sunday, so there are only a few new sources. I've just uploaded .configs for 3.0.35-tuxonice, 3.0.36-gentoo, and 3.4.4-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: 5997
Location: Pomona, California.

PostPosted: Tue Jun 26, 2012 2:57 am    Post subject: Reply with quote

I can always count on the hardened sources devs to keep me on my toes. I've just uploaded .configs for 2.6.32-hardened-r113, 3.2.21-hardened-r1, and 3.4.4-hardened in both x86 and x86_64 flavors. Enjoy!

john-doe,
I'm still waiting for your .config file. Once again, post it to pastebin, and then post the resulting pastebin URL here. I need your .config file to work up one for you, and to see what you might have done wrong.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 27, 2012 1:55 am    Post subject: Reply with quote

pappy_mcfae wrote:
.config file



http://pastebin.com/mC2rUTzW
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Wed Jun 27, 2012 6:09 am    Post subject: Reply with quote

john-doe,

Click here for your new .config. Compile as is.

For the best results, please do the following:

1) Move your .config file out of your kernel source directory (/usr/src/linux-3.4.4-gentoo ).
2) Issue the command make mrproper. This is a destructive step. It returns the source to pristine condition. Unmoved .config files will be deleted!
3) Copy my .config into your source directory.
4) Issue the command make && make modules_install.
5) Install the kernel as you normally would, and reboot.
6) Once it boots, please post /var/log/dmesg so I can see how things loaded.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 27, 2012 7:50 pm    Post subject: Reply with quote

don't follow this part:
Quote:
Click here for your new .config. Compile as is

to compile what?
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Wed Jun 27, 2012 7:53 pm    Post subject: Reply with quote

Compile the kernel using the .config I made.

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


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

PostPosted: Wed Jun 27, 2012 8:21 pm    Post subject: Reply with quote

john-doe,

Using the information you provided, pappy has made you a kernel. However, instead of sending you a 100Mb file, he has provided the only part that is unique to you. Thats the .config file. Its only around 40kB, which is mutch more user friendly.

Pappy has made the .config for the kernel you already have the sources for, so you only need to save your old .config file, clean out all the rubbish (which is what mrproper does) and put pappys .config file into your clean sources.
At this point, you have a properly configured kernel for your system

Code:
make
builds the kernel and its modules
Code:
make modules_install
puts the modules into the proper place in /lib/modules/
The final steps for you are to mount /boot, if you have a boot partition and to copy the kernel bzImage file to boot.
_________________
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
pappy_mcfae
Watchman
Watchman


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

PostPosted: Thu Jun 28, 2012 12:21 am    Post subject: Reply with quote

When I say, "compile as is," I mean don't modify it using make menuconfig, or any other kernel reconfiguration program.

In order to troubleshoot properly, I need to be sure that what I sent you as a .config file is what you are compiling by the use of make. I put that part in because I have had other people who did reconfigure the .config, and by doing so, introduced errors that wouldn't have happened had the .config been compiled as is.

Once I can verify that the .config has compiled properly, ie., the intended drivers and options were compiled in, and that the computer is working properly thereafter, through the viewing of /var/log/dmesg, you can then make any needed modifications to suit your machine. If the .config is modified before it is compiled, I can't assure proper operation.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Fri Jun 29, 2012 1:25 pm    Post subject: Reply with quote

Thx pappy and needy...I'll wait till 3.4.5 is hung!
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Fri Jun 29, 2012 3:14 pm    Post subject: Reply with quote

I'm trying to configure a gentoo linux-3.2.1-gentoo-r2 kernel to run as a guest os under vmware on a gentoo 2.6.37-gentoo-r4 host machine. I did something similar a few years ago: I ran reed hat RHEL5.2 under vmware hosted under win-xp, but I did not build a red hat kernel; I just used the pre-built bloatmaster kernel provided by the fine folks at redhat. :-\

Now I am ready to build my kernel, and when I do the lspci -n and paste into the web page to see what drivers I need, I get something I don't understand. What I see is:
Code:

PCI ID   Works?   Vendor   Device   Driver   Kernel
80867190   Yes   Intel Corporation   440BX/ZX/DX - 82443BX/ZX/DX Host bridge   agpgart   
80867191   Yes   Intel Corporation   440BX/ZX/DX - 82443BX/ZX/DX AGP bridge   agpgart   
80867110   Yes   Intel Corporation   82371AB/EB/MB PIIX4 ISA   ignore   
80867111   Yes   Intel Corporation   82371AB/EB/MB PIIX4 IDE   ata_piix   v2.6.25-
80867113   Yes   Intel Corporation   82371AB/EB/MB PIIX4 ACPI   i2c-piix4   v2.6.25-
15ad0740      VMware   Virtual Machine Communication Interface      
15ad0405   Yes   VMware   SVGA II Adapter   vmware   
10000030   Yes   LSI Logic / Symbios Logic   53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI   mptspi   v2.6.25-
15ad0790      VMware   PCI bridge      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
15ad07a0      VMware   PCI Express Root Port      
80867112   Yes   Intel Corporation   82371AB/EB/MB PIIX4 USB   usb-uhci,uhci-hcd   
8086100f   Yes   Intel Corporation   82545EM Gigabit Ethernet Controller (Copper)   e1000   v2.6.25-
12741371   Yes   Ensoniq   ES1371 [AudioPCI-97]   snd-ens1371   v2.6.25-
15ad0770      VMware   USB2 EHCI Controller      

What do I use for driver here? :?: :o
_________________
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: 43072
Location: 56N 3W

PostPosted: Fri Jun 29, 2012 6:42 pm    Post subject: Reply with quote

Moriah,

vmware emulates a subset of hardware. Mostly obsolete stuff.
Code:
PCI ID   Works?   Vendor   Device   Driver   Kernel
80867190   Yes   Intel Corporation   440BX/ZX/DX - 82443BX/ZX/DX Host bridge   agpgart   
80867191   Yes   Intel Corporation   440BX/ZX/DX - 82443BX/ZX/DX AGP bridge   agpgart   
80867110   Yes   Intel Corporation   82371AB/EB/MB PIIX4 ISA   ignore   
80867111   Yes   Intel Corporation   82371AB/EB/MB PIIX4 IDE   ata_piix   v2.6.25-
80867113   Yes   Intel Corporation   82371AB/EB/MB PIIX4 ACPI   i2c-piix4   v2.6.25-
80867112   Yes   Intel Corporation   82371AB/EB/MB PIIX4 USB   usb-uhci,uhci-hcd   
8086100f   Yes   Intel Corporation   82545EM Gigabit Ethernet Controller (Copper)   e1000   v2.6.25-
12741371   Yes   Ensoniq   ES1371 [AudioPCI-97]   snd-ens1371   v2.6.25-
15ad0770      VMware   USB2 EHCI Controller 


You only need to concern yourself with the list above.

Since VMware seems to have aquired PCIe support too, you should enable that along with PCI under busses.
Is that enough of a hint?
_________________
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: 2117
Location: Kentucky

PostPosted: Fri Jun 29, 2012 6:51 pm    Post subject: Reply with quote

Thanks, Neddy! Somehow, I just *KNEW* that you would be the one to respond to my plea for help.

Yes, and since I do not care about sound or usb for this vm, then all I need is the generic disk, video, and ethernet, and I should be all set! :D

I'll post how it goes.
_________________
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: 43072
Location: 56N 3W

PostPosted: Fri Jun 29, 2012 7:24 pm    Post subject: Reply with quote

Moriah,

Its not generic. Its very old Intel, except the e1000, network card and the PCI-X Fusion-MPT Dual Ultra320 SCSI.

The SCSI there bits many users in the bum as its not under SCSI in the Kernel. Look out for Fusion MPT all on its own menu.
From memory, its just under the SCSI menu.
_________________
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
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 ... 15, 16, 17, 18, 19, 20  Next
Page 16 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