LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   problem compiling kernel 2.6 on RedHat (https://www.linuxquestions.org/questions/red-hat-31/problem-compiling-kernel-2-6-on-redhat-156995/)

Thetargos 05-20-2004 12:35 PM

In the current new one... I'll mail you one of my 2.6 configuration files...

kenji1903 05-20-2004 09:06 PM

Hmm... sound to me I've been recompiling the kernel the wrong way all this while! :D

I always go back to my 2.4.20-8, then "make menuconfig", make changes, after that recompile...

But... Let's say I'm in 2.6.0, I can enter the config menu using "make menuconfig". THe problem is when I select and option, the terminal window locks up! Is it suppose to do that? Or do I have something wonrg with my RH9?

kenji1903 05-20-2004 09:06 PM

ohh... thanks for the file! ;)

kenji1903 05-21-2004 01:00 AM

I think i've enabled the DECnet support and 802.1d Ethernet bridging... don't quite understand what the explanation means...
I'm just using linux as an office server, do I need those above? Umm... the office network will not be connected to the internet for the time being, but if I the system does need to go online, do i enable those 2 support mentioned?

I still get IPTable errors after I compiled the kernel refering to your config file... only caught a glimpse of that IPTable message during boot time... any files that I can look at to have a more detailed description?

kenji1903 05-21-2004 03:39 AM

sound is working!!!!! Didn't know exactly what I did but its working!!!!!

I think I already had it working when I recompiled the kernel with sound enabled, just that I got a blank terminal window when I typed alsamixer... so I thought its still not working...
The thing that bothers me is i have to re-adjust the volumes (from Volume Control) everytime I start Linux...
Do you have any suggestions?

Whats left now are IPTable errors ;)

Thanks a million, bro!!!! :D

Thetargos 05-21-2004 03:43 PM

Glad you got it figured out (at least that part!)

Now I'm sending you a screenshot from my xterm (in GNOME) about how should alsamixer look like (mind you I'm using a Sound Blaster Live!, but the overall layout should be the same).

kenji1903 05-21-2004 10:45 PM

Thanks, mate!

And where did you get that MacOs theme from? Damn, thats cool! :D

Frankly, I saw that alsamixer screen loaded half of way once... strange that i can't load is again... usually my terminal just hangs there with a blank screen, any idea whats happening?

About IPTables, I've compiled everything from the Netfilter into the kernel and it fixes the problem... hmm... :scratch:

Thetargos 05-22-2004 01:37 AM

The theme you may get it from art.gnome.org, while the page is currently off-line (dunno exactly why) I'll post back the names of the two themes (one for the window border and one for the window background)...

The alsamixer thing troubles me... I can't think of anything that might be wrong... In anycase open up redhat-config-services and add the alsasound service (fromt the add icon), then restart the service and try again... It's a shot in the dark though, but still may work ;)

Since you compiled everything Netfilter related into the kernel, the dependencies are solved differently (I think) and hance no compilation errors, still odd thing.

kenji1903 05-22-2004 01:56 AM

Cheers bro, really appreciate it :)

Things are so strange on my linux... can't find anything that sounds like *alsa* in my service configuration, hehe :D

Yeah... even more odd to me since I'm not exactly sure what i'm doing is even near correct! ;)

kenji1903 05-22-2004 03:36 AM

I've just notince that I can't mount my flash drive...
Before that I compile all those HCDs into the kernel, but after I changed them to module, I can't mount~

#mount -t vfat /dev/sda1 /mnt/usb
mount: /dev/sda1 is not a valid block device

strange? or did i do something wrong?

Thetargos 05-22-2004 09:59 PM

Quote:

Originally posted by kenji1903
I've just notince that I can't mount my flash drive...
Before that I compile all those HCDs into the kernel, but after I changed them to module, I can't mount~

#mount -t vfat /dev/sda1 /mnt/usb
mount: /dev/sda1 is not a valid block device

strange? or did i do something wrong?

You'd have to see what is your USB drive being mapped to (you may use the /sys/bus/scsi interface to determine that or use cdrecord's bus scan to determine to which device the USB drive is mapped to).

Thetargos 05-22-2004 10:01 PM

About ALSA, you have to open the redhat-config-services program and:
  • Under acctions choose Add.
  • In the dialog that appears, type alsasound
  • press restart service (once you add it and check it).
  • Exit and save the current configuration.

kenji1903 05-22-2004 10:15 PM

# cdrecord -scanbus
Cdrecord 2.0 .....
cdrecord: No such file or directory. Cannnot open '/dev/pg*'. Cannot open SCSI driver
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
I am already root.....

I'm using GNome by the way, there is only Start, Stop and Restart under Actions in my redhat-config-services program :scratch:

Thetargos 05-22-2004 10:21 PM

Ok, the ALSA thing: Try the console mode: /sbin/chkconfig --add alsasound, then activate it with redhat-config-services, or /sbin/service alsasound restart ;)

Thetargos 05-22-2004 10:23 PM

For the USB drive, what does it say when you do an ls /sys/bus/scsi/devices ? You should have symlinks of the different devices listed. In my case I only have one at 0:0:6:0 (my paralell Zip drive)


All times are GMT -5. The time now is 04:01 AM.