Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel config to run old system,
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ATA
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2006
Posts: 80
Location: Germany

PostPosted: Tue Apr 11, 2006 11:18 am    Post subject: kernel config to run old system, Reply with quote

what i want :
a minimal config(or a working one ^^)
what i tried:
emerge and compiled genkernel, not working,
emerge gentoo-source, several times, not working,
sometimes it couldnt find boot partition (yeah fstab is right as in my other thread postet ^^)
sometimes its just not compiling cause of some script error,
sometimes somethin else, whatever ;(

i tried the german wiki on a manual kernel cfg , checked everything exact as said, not workin,
tried the text based cfg-setup, some script-error ,
im sry that i dont wrote the errors down here but im a bit frustated, nearly every time i maked a new cfg i get another error,

so now i need badly help
i post all infos on the system i got :
#lspci ->
00:00.0 Host bridge: ALi Corporation M1541 (rev 04)
00:01.0 PCI bridge: ALi Corporation M1541 PCI to AGP Controller (rev 04)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:03.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+] (rev c3)
00:0a.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c1)
01:00.0 VGA compatible controller: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 11)

#lsusb ->Bus 001 Device 001: ID 0000:0000
its just an usb mouse which i probably dont need anyway,

# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 350.795
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr
bogomips : 702.74

hdd: some 8gig ata
cd-rom: some 32 ata
no floppy
riva tnt2

what i need in cfg: nfs support smb support ,windows share "mount" support(sry i forgot the word for it..), it should be used for samba testing and as webserver for local files to test them :)
i prefer to load the needed modules direktly in the kernel,

i dont need sata, usb2.0, modem, whatever exotic things, w-lan stuff,

make.conf :
CFLAGS="-O2 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ "
Use="nptl"

i tried with march=k6 (the command for k6 i just dont know it right now)
tried without "use=nptl"
tried several hours inside the forum talkin bout a "bug" in those arch i using but cant figure it out exactly cause im not so well known with gentoo and/or linux,

i know sry its hard to read but im starting to forget how to write "good" sentences in english..

guess im getting old :(
frustating ..

any help would be great ^^
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Tue Apr 11, 2006 11:47 am    Post subject: Reply with quote

can you boot with the gentoo livecd?
or any other livecd?
_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
ATA
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2006
Posts: 80
Location: Germany

PostPosted: Tue Apr 11, 2006 3:46 pm    Post subject: Reply with quote

i can boot the gentoo min install and come to the point where the kernel config starts,
cause of genkernel got a lot of stuff i dont want i tried to make a single one,
my system is just waiting for me to type somethin,
i connect via ssh on it and yes to boot and chroot is np


edt :
next time i configured kernel,
this is the result:
livecd linux # make && make modules_install
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
GEN include/asm-i386/asm-offsets.h
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CC init/main.o
CHK include/linux/compile.h
dnsdomainname: Unknown host
UPD include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC init/do_mounts_md.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
LD init/built-in.o
CHK usr/initramfs_list
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/i386/kernel/process.o
CC arch/i386/kernel/semaphore.o
CC arch/i386/kernel/signal.o
AS arch/i386/kernel/entry.o
CC arch/i386/kernel/traps.o
CC arch/i386/kernel/irq.o
CC arch/i386/kernel/vm86.o
CC arch/i386/kernel/ptrace.o
CC arch/i386/kernel/time.o
CC arch/i386/kernel/ioport.o
CC arch/i386/kernel/ldt.o
CC arch/i386/kernel/setup.o
CC arch/i386/kernel/i8259.o
CC arch/i386/kernel/sys_i386.o
CC arch/i386/kernel/pci-dma.o
CC arch/i386/kernel/i386_ksyms.o
CC arch/i386/kernel/i387.o
CC arch/i386/kernel/dmi_scan.o
CC arch/i386/kernel/bootflag.o
CC arch/i386/kernel/doublefault.o
CC arch/i386/kernel/quirks.o
CC arch/i386/kernel/i8237.o
CC arch/i386/kernel/acpi/boot.o
CC arch/i386/kernel/acpi/sleep.o
AS arch/i386/kernel/acpi/wakeup.o
CC arch/i386/kernel/acpi/cstate.o
LD arch/i386/kernel/acpi/built-in.o
CC arch/i386/kernel/cpu/common.o
CC arch/i386/kernel/cpu/proc.o
CC arch/i386/kernel/cpu/amd.o
CC arch/i386/kernel/cpu/cyrix.o
CC arch/i386/kernel/cpu/centaur.o
CC arch/i386/kernel/cpu/transmeta.o
CC arch/i386/kernel/cpu/intel.o
CC arch/i386/kernel/cpu/intel_cacheinfo.o
CC arch/i386/kernel/cpu/rise.o
CC arch/i386/kernel/cpu/nexgen.o
CC arch/i386/kernel/cpu/umc.o
CC [M] arch/i386/kernel/cpu/cpufreq/powernow-k6.o
CC [M] arch/i386/kernel/cpu/cpufreq/powernow-k7.o
CC [M] arch/i386/kernel/cpu/cpufreq/powernow-k8.o
CC [M] arch/i386/kernel/cpu/cpufreq/longhaul.o
CC [M] arch/i386/kernel/cpu/cpufreq/longrun.o
CC [M] arch/i386/kernel/cpu/cpufreq/gx-suspmod.o
CC [M] arch/i386/kernel/cpu/cpufreq/speedstep-ich.o
CC [M] arch/i386/kernel/cpu/cpufreq/speedstep-centrino.o
CC [M] arch/i386/kernel/cpu/cpufreq/speedstep-lib.o
CC [M] arch/i386/kernel/cpu/cpufreq/speedstep-smi.o
CC [M] arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.o
CC [M] arch/i386/kernel/cpu/cpufreq/p4-clockmod.o
CC [M] arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.o
CC arch/i386/kernel/cpu/mtrr/main.o
CC arch/i386/kernel/cpu/mtrr/if.o
CC arch/i386/kernel/cpu/mtrr/generic.o
CC arch/i386/kernel/cpu/mtrr/state.o
CC arch/i386/kernel/cpu/mtrr/amd.o
CC arch/i386/kernel/cpu/mtrr/cyrix.o
CC arch/i386/kernel/cpu/mtrr/centaur.o
LD arch/i386/kernel/cpu/mtrr/built-in.o
LD arch/i386/kernel/cpu/built-in.o
CC arch/i386/kernel/timers/timer.o
CC arch/i386/kernel/timers/timer_none.o
CC arch/i386/kernel/timers/timer_tsc.o
CC arch/i386/kernel/timers/timer_pit.o
CC arch/i386/kernel/timers/common.o
LD arch/i386/kernel/timers/built-in.o
CC arch/i386/kernel/reboot.o
CC arch/i386/kernel/reboot_fixups.o
CC arch/i386/kernel/module.o
CC arch/i386/kernel/sysenter.o
LDS arch/i386/kernel/vsyscall.lds
AS arch/i386/kernel/vsyscall-int80.o
AS arch/i386/kernel/vsyscall-note.o
SYSCALL arch/i386/kernel/vsyscall-int80.so
AS arch/i386/kernel/vsyscall-sysenter.o
SYSCALL arch/i386/kernel/vsyscall-sysenter.so
AS arch/i386/kernel/vsyscall.o
CC arch/i386/kernel/efi.o
AS arch/i386/kernel/efi_stub.o
CC arch/i386/kernel/early_printk.o
SYSCALL arch/i386/kernel/vsyscall-syms.o
LD arch/i386/kernel/built-in.o
AS arch/i386/kernel/head.o
CC arch/i386/kernel/init_task.o
LDS arch/i386/kernel/vmlinux.lds
CC [M] arch/i386/kernel/apm.o
arch/i386/kernel/apm.c: In function `suspend':
arch/i386/kernel/apm.c:1204: warning: `pm_send_all' is deprecated (declared at include/linux/pm_legacy.h:31)
arch/i386/kernel/apm.c:1258: warning: `pm_send_all' is deprecated (declared at include/linux/pm_legacy.h:31)
arch/i386/kernel/apm.c: In function `check_events':
arch/i386/kernel/apm.c:1379: warning: `pm_send_all' is deprecated (declared at include/linux/pm_legacy.h:31)
CC arch/i386/mm/init.o
CC arch/i386/mm/pgtable.o
CC arch/i386/mm/fault.o
CC arch/i386/mm/ioremap.o
CC arch/i386/mm/extable.o
CC arch/i386/mm/pageattr.o
CC arch/i386/mm/mmap.o
CC arch/i386/mm/highmem.o
CC arch/i386/mm/boot_ioremap.o
LD arch/i386/mm/built-in.o
CC arch/i386/mach-default/setup.o
CC arch/i386/mach-default/topology.o
LD arch/i386/mach-default/built-in.o
AS [M] arch/i386/crypto/aes-i586-asm.o
CC [M] arch/i386/crypto/aes.o
LD [M] arch/i386/crypto/aes-i586.o
CC kernel/sched.o
CC kernel/fork.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC kernel/printk.o
CC kernel/profile.o
CC kernel/exit.o
CC kernel/itimer.o
CC kernel/time.o
CC kernel/softirq.o
CC kernel/resource.o
CC kernel/sysctl.o
CC kernel/capability.o
CC kernel/ptrace.o
CC kernel/timer.o
CC kernel/user.o
CC kernel/signal.o
CC kernel/sys.o
kernel/sys.c: In function `sys_reboot':
kernel/sys.c:523: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/cc6TVoJh.out file, please attach this to your bugreport.
make[1]: *** [kernel/sys.o] Error 1
make: *** [kernel] Error 2
as i guess you guys dont want to read 24k lines of text i stored in on may webspace
http://home.arcor.de/alastair/other/cc6TVoJh.out
its bout 700k and im not sure what i should do with that :(
its bout the 6th or 7th bug "report" i got.

edit 2 heres my makeconf maybe it helps.
http://home.arcor.de/alastair/other/make.config (its only named so cause webspace provider wont accept the .config file for whatever reason :)
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed Apr 12, 2006 9:18 pm    Post subject: Reply with quote

Does it always bug out at that point, or does the segmentation fault occur randomly?

If it's always at the same step, try switching your RAM sticks around and see if the error occurs consistently at a different step.

On an off-hand hunch: If your system is old, how much swap space have you assigned and how large/old is the hard drive?
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
ATA
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2006
Posts: 80
Location: Germany

PostPosted: Fri Apr 14, 2006 5:11 am    Post subject: Reply with quote

well i checked my ram the last 2 days nonstop with memtest, no error aswell,
i did a fresh install afterwards, everything went fine, until emerge --sync..
segmentation fault error at 52% (yeah its mostly random times.. got that on 30percent aswell as at bout 70 i think)
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Fri Apr 14, 2006 7:24 am    Post subject: Reply with quote

That looks like it might have something to do with your HD then. I had that on an older system and it went away, when I bought a new hard drive for it.

I had to jumper it to 32GB and use the kernel to fully access it though, as the BIOS wouldn't accept a larger drive. 8)
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
ATA
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2006
Posts: 80
Location: Germany

PostPosted: Fri Apr 14, 2006 2:12 pm    Post subject: Reply with quote

soz i oversaw your question bout the hdd.
its a 7.xGB hdd
dont know how old ,i guess bout 5-7 years or so.
i got 512MB swapspace,
ill check with a new hdd then, guess i got no choice :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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