LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-16-2004, 01:51 PM   #91
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 60

i forgot to mention for you to post the output of cat /etc/fstab also, to see what you have in there for you floppy and cdrom ... if anything at all..
as of the mount error you were getting, you said you tried to mount hdb7, but it appears you don't have a hdb7 ....
all you have is drive hdd, and it appears that the full 20gigs is partitioined for linux..

do you have a second drive?
also whats the output of :
dmesg | grep hd[a-d]
 
Old 01-17-2004, 01:20 PM   #92
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
DrOzz

Unfortunately, last night I made a big mistake and lost whole linux system which I reinstalled and upgraded to kernel 2.6.1 again. So today I have different problems. First to answer your question about the second hard disk, yes I have another hard disk for Windows but I do not know why it was not showing last night.

The following are the new problems:

1- System did not detect my external modem and detected but could not install my conexant HSF modem. I could not install the HSF modem in Mandrake even with the old kernel. But it works fine in Red Hat.
2- no sound I tried to Change the driver but the mandrake installer just hangs up.
3- I can mount my cdrom manually but not automatically. I have modified my fstab file and included the following line but did not work:
/dev/cdrom /mnt/cdrom auto default 1 1

4- I can see the windows partitions in the fdisk -l and I can mount them but I can not access them.

Would you please help me.

Last edited by linx win; 01-17-2004 at 01:23 PM.
 
Old 01-17-2004, 01:28 PM   #93
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
Dr Ozz

By the way, how can I make changes to the kernel configuration in Mandrake. In Red Hat I go to the kernel source folder and do make xconfigure. But in Mandrake I could not locate the kernel-source in my system other that the one I downloaded from the internet and used to upgrade my system kernel.
 
Old 01-17-2004, 06:19 PM   #94
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 60
1-) well you gotta realize that different distros have different support for different hardware, so since one distro auto detects something does not mean its going to be the same sweet story with another distro, so all i can say to that is, if it doesn't pick up something automatically, then fire up google and start searching for the drivers ...
2-) what sound card is it, and what do you mean the mandrake installer ? imo its easier to download the source driver and manually install it and just modprobe the module, rather then them awful rpms (if thats what your referring to when you say mandrake installer) ...
3-) as of auto mounting, i am just going to guess at this, cause i don't use mandrake but to my knowledge, you have to change the part in your fstab for you cdrom that says auto to read supermount as of the 1 1 you have at the end of the line, it is unnessary and you can change them to 0 0 ...

as of your second post, you will simply have to install the kernel sources, either from kernel.org or directly off your distrobutions cd's ... then you can type make xconfig if you wish ..

Last edited by DrOzz; 01-17-2004 at 06:21 PM.
 
Old 01-17-2004, 10:33 PM   #95
jagmarz
LQ Newbie
 
Registered: Dec 2003
Location: Phoenix suburbs
Distribution: Debian (Etch/Sid)
Posts: 16

Rep: Reputation: 0
Using mkinitrd

The following didn't work for me:
Quote:
.And create the new one:
/sbin/mkinitrd /boot/initrd-x.x.x.img x.x.x
(Note: )
The last set of x.x.x is the eqivalent to your new kernel version and it looks to /lib/modules for that version.
I don't know how/why mkinitrd is different on my Debian install, but it wants strikingly different arguments. I really have no idea why it looks in /var by default for the modules. Odd. Anyway, here's what I got to work (my kernel is version 2.4.23, of cours):
Code:
mkinitrd -o /boot/initrd.img-2.4.23 /lib/modules/2.4.23
Which seems to have done the right thing. Here's the version information, FWIW:
Code:
# mkinitrd
$Id: mkinitrd,v 1.141 2003/12/13 02:10:28 herbert Exp $
Usage: /usr/sbin/mkinitrd [OPTION]... <-o outfile> [moduledir]
BTW, one very cool thing you can do if you have the loop device driver configured is to mount this initrd to see what's on in:
Code:
mount -o loop -o ro /boot/initrd.img.2.4.23 /mnt
Then you can look through /mnt to see what's really there.

-- Mario
 
Old 01-18-2004, 04:52 AM   #96
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
Angry compiled 2.4.24 from 2.4.16

Dr Ozz, plz heeeeeeeeeelp!!!!!!!

i've successfully compiled 2.4.24 from 2.4.16-32mdk
everything goes smooth and fine, but when i reboot. i got hit by a few errors:

these from: /var/log/boot.log

Jan 17 04:12:32 localhost mount: mount: fs type supermount not supported by kernel
Jan 17 04:12:31 localhost modprobe: modprobe: Can't locate module snd-ymfpciJan 17
Jan 17 22:31:04 localhost alsa: failed
Jan 17 22:32:18 localhost sound: Loading sound module (snd-ymfpci) failed
Jan 17 22:32:19 localhost netfs: Mounting other filesystems: failed
Jan 17 04:02:31 localhost devfsd: Starting devfsd daemon: failed
Jan 17 04:12:31 localhost sound: Loading sound module (snd-ymfpci) failed
Jan 17 04:12:32 localhost netfs: Mounting other filesystems: failed

before i compile my new kernel, i did:
cp /usr/src/linux-2.4.16-32mdk/.config /usr/src/linux

just to make sure my old setting was saved, i only added couple options. those are acpi, intel PIII enable, and framebuffering. that was it.

as for the supermount problem, while searching google, some suggest the system will run fine without it, we just need to manaully type the code in /etc/fstab and completely disable supermount.

but as for sound, right now its disappear. i tried:
insmod /lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o

(my soundcard is a yamaha, which was working fine before compile)

/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol ac97_probe_codec_Redf32a8e
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol register_sound_dsp_R7eaa0b62
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol unregister_sound_mixer_R7afc9d8a
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol register_sound_mixer_R7831ef44
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol unload_uart401_Recfdd9c9
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol ac97_release_codec_R0a40cae1
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol ac97_restore_state_R9488dccf
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol ac97_save_state_R8e399b5e
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol unregister_sound_dsp_Rcd083b10
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol ac97_alloc_codec_Ra481435a
/lib/modules/2.4.24custom_2.4.24_17jan04/kernel/drivers/sound/ymfpci.o: unresolved symbol probe_uart401_R63d781ea

i did, however, saved a backup kernel in my lilo, just in case if something goes wrong, i can always go back...however, bad thing kept happening:

1) 2.4.19 complains my filesystem needs to be sync (i dare not to touch anything yet)
2) after booted, still has no sound
3) whenever i boot 2.4.19 it kindda run into a safe mode.... ask me if i wanna fix this and that...

at this point, i just wanna get 2.4.24 works

thanks
 
Old 01-18-2004, 12:49 PM   #97
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
DrOzz

I succeeded in recompiling my system kernel and solved the sound and modem problems. I am lift with the CDrom and Windows partitions mounting problem only. The following is my fstab file:

/dev/hdd1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdd6 /home ext3 defaults 1 2
/mnt/cdrom supermount dev=/dev/cdrom,fs=auto,--,defaults 0 0
dev=/dev/fd0,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1,sync 0 0
none /proc proc defaults 0 0
/dev/hdd5 swap swap defaults 0 0

The following is fdisk info:

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 1275 10241406 c Win95 FAT32 (LBA)
/dev/hdb2 1276 9729 67906755 f Win95 Ext'd (LBA)
/dev/hdb5 1276 1913 5124703+ b Win95 FAT32
/dev/hdb6 1914 2079 1333363+ b Win95 FAT32
/dev/hdb7 2080 9729 61448593+ b Win95 FAT32

Disk /dev/hdd: 20.5 GB, 20520493056 bytes
16 heads, 63 sectors/track, 39761 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 12190 6143728+ 83 Linux
/dev/hdd2 12191 39761 13895784 5 Extended
/dev/hdd5 12191 13205 511528+ 82 Linux swap
/dev/hdd6 13206 39761 13384192+ 83 Linux

Can you help me? For your information in Mandrake there is no grub.conf file. It uses another file located in /boot/grub called menu.lst. I did include the command mentioned in the above link but did not work.

Thanks.
 
Old 01-20-2004, 12:20 AM   #98
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
DrOzz

I got my system kernel upgraded to 2.6.0 with no problems at all. See how:

http://www.linuxquestions.org/questi...hreadid=135780
 
Old 01-20-2004, 08:19 AM   #99
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 60
good job d00d, although its a shame you couldn't get it done manually
but i guess in the end you got what you wanted ;-))
but i guess you actually did do it with the exception of your mount problems, but personally i would have ditched the supermount, and all you had to do is add a line to your fstab for you win partitions ..

Last edited by DrOzz; 01-20-2004 at 08:20 AM.
 
Old 01-22-2004, 04:22 PM   #100
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Rep: Reputation: 15
Oh, how could I see, with what options I have installed my kernel, cos i want to enable framebuffering in my kernel but i don't know, if i have already enabled it or not.
 
Old 01-22-2004, 07:04 PM   #101
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 60
all that stuff is in the config file which you'll see the path to it below ... if it has =y then that means you enabled it ... and if it anything as =m then that means you compiled as a module ..
so with that said, whats the output of :
cat /usr/src/linux/.config | grep CONFIG_FB
 
Old 01-24-2004, 06:04 AM   #102
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
DrOzz

Unfortunately, I did recompile my Mandrake 9.2 (2.6.1) system to enable some attributes required by my DVB card and returned with the same old problems again. Therefore, I removed Mandrake, re-installed Red Hat, upgraded it to Fedora 1 and compiled the kernel 2.6.0 per the procedure you provided but I got the same results; no cdrom, no modem and no windows partitions. I compiled kernel 2.4.22-8 without any problems. I think the problem is with the configuration that I do before compiling 2.6.0. Is there a way to make the new kernel to find out what equipment I have? By the way, I did make oldconfig first to get the info from my current system, then I did make xconfig to check if there is anything else I need to do.

Thanks
 
Old 01-24-2004, 11:01 AM   #103
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Rep: Reputation: 15
Ok, i've got enabled the framebuffering, but how can i run it? Hhave i to boot with somekind of parameter to start booting with framebuffering? I did'nt find anything at man bootparams! help please!
 
Old 01-24-2004, 11:43 AM   #104
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
if you enabled framebuffering, look at /dev, you should see /dev/fb or /dev/fb0 or /dev/fb1
 
Old 01-24-2004, 12:09 PM   #105
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
DrOzz

Ok I recompiled the kernel and I got the modem, sound and windows partitions working. My problem is with the cdrom (DVD-RW). System says:

mount: /dev/cdrom is not a valid block device

I checked the list of block devices and could not see it in the list.

Also, I noticed that at the startup, the USB did not start saying that USB_uhci did not start and it was saying something about /proc/bus/usb/drivers. Can you help here.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm interested in compiling a 2.6.x kernel, is this is a decent guide? Erik_the_Red Linux - Newbie 7 08-14-2005 06:03 AM
Kernel compiling guide for newbies... DaOne Slackware 127 04-17-2005 04:20 AM
Acid Guide to compiling Kernel 2.6.10 on Slack 10.1 acidjuice Slackware 54 03-11-2005 05:16 PM
Quick newbie guide to rebuild kernel in FC3 borgware Fedora 0 12-29-2004 01:38 PM
: Kernel compiling guide for newbies Question Anibal Slackware 6 08-01-2003 07:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration