[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CD-reader on SONY VAIO SR27K [+ kernel compile]



Am Samstag 08 März 2003 09:25 schrieb blair.kelly@att.net:
.> Yet where in this process must I do
>
> M1. make modules
> M2. make modules_install

Your process seems needlessly complicated. Here's what I do:

1) unpack source
2) make xconfig   (use menuconfig if you're not doing it from within X)
3) make dep
4) make modules
5) make modules_install
6) make bzImage
7) cp System.map /boot/System.map-2.x.yy
8) cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20
9) edit /etc/lilo.conf and add entry for new kernel (menu option)
10) /sbin/lilo
11) reboot and enjoy

Thats how I do it.

> I have seen various recommendations.  So what is the
> earliest that I can do it ... and the latest?

Anywhere between make dep and the reboot ;)

> Another question is that in my /boot directory there
> is a boot.b link to /boot/boot-menu.b and
> also a initrd.img-2.4.18-686.  Yet I find no discussion

I don't use initrd images, most people I know don't. It's an option inside 
lilo.conf which decides to use one or not. Just leave it out for your new 
kernel.If you want to an updated initrd image, try mkinitrd (not installed by 
default on Debian I think).

Don't know about boot.b.

> > I now can reboot into my new kernel (which seems to have
> less functionality that my old kernel; specifically,
> I no longer seem to be able to cd to the Windows partition
> from the Linux side) and my old kernel now gives me
> a kernel panic and fails to boot.

If you can't see your windows shares anymore, you didn't compile fat(32) file 
system support into the kernel. If you used make xconfig to configure the 
kernel, check the "Filesystem" section.

It helps to compile "more' into the kernel rather than 'less". As in, if 
you're not sure if you need a certain option, make it a module. As you do 
this a few times, you will get more familiar with thich options you need and 
which ones you don't.

I attached my 2.4.20 kernel config for you as a reference, but keep in mind 
that I don't have a local FAT partition, and my harddrive is ReiserFS, so DO 
NOT use my config as your kernel. For it to work for you you will need to 
include Ext2/Ext3 support.

Make sure to enable the sony interrupt controller in order to be able to set 
screen brightness and use the jog-dial.

Oh, also, after the first reboot, type "depmod -a"  (as root).

Cheers,
  Andre 



Reply to: