RE: Comedi installation process...

Bernd,

I was finally able to finish the kernel configure, build, and installation
process. After updating grub I booted into the kernel and I get this error:

VFS: Cannot open root device "hda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

I get that without initrd. After making initrd and booting with it I get
this error:

Modprobe: FATAL: Could not load /lb/modules/2.6.8/modules.dep : No such file
or directory

Here is my /boot/grub/menu.lst

# this is the kernel I compilied
title           Debian GNU/Linux, kernel 2.6.8
root            (hd0,0)
kernel          /boot/bzImage root=/dev/hda1 ro
#initrd         /boot/initrd.img-2.6.8
savedefault
boot

# this is the kernel debian installed
title           Debian GNU/Linux, kernel 2.6.8-2-386
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro
initrd          /boot/initrd.img-2.6.8-2-386
savedefault
boot


I hope I've given you enough information to help me out because I can not
wait to start acquiring data with this card.

Thanks,

Eric

-----Original Message-----
From: Bernd Porr [mailto:BerndPorr_at_f2s.com] 
Sent: Wednesday, February 16, 2005 4:20 AM
To: Eric Hudson
Cc: comedi_at_comedi.org
Subject: Re: Comedi installation process...

Just switch off the DRM with "make menuconfig". Seems to be a bug in there.

/Bernd

www:    http://www.berndporr.me.uk/
         http://www.linux-usb-daq.co.uk/
Mobile: +44 (0)7840 340069
Work:   +44 (0)141 330 5237
         University of Glasgow
         Department of Electronics & Electrical Engineering
         Room 519, Rankine Building, Oakfield Avenue,
         Glasgow, G12 8LT


Eric Hudson wrote:
> Bernd,
> 
> I am following your instructions and I get the following while doing make
> modules:
> 
> drivers/char/drm/drm_drv.h:807: warning: implicit declaration of function
> `gamma_ctxbitmap_free'
> In file included from drivers/char/drm/gamma_drv.c:58:
> drivers/char/drm/drm_stub.h: In function `gamma_stub_putminor':
> drivers/char/drm/drm_stub.h:148: warning: `inter_module_put' is deprecated
> (declared at include/linux/module.h:582)
> drivers/char/drm/drm_stub.h:150: warning: `inter_module_unregister' is
> deprecated (declared at include/linux/module.h:578)
> drivers/char/drm/drm_stub.h: In function `gamma_stub_register':
> drivers/char/drm/drm_stub.h:206: warning: `inter_module_register' is
> deprecated (declared at include/linux/module.h:577)
> drivers/char/drm/drm_stub.h:216: warning: `inter_module_unregister' is
> deprecated (declared at include/linux/module.h:578)
> make[3]: *** [drivers/char/drm/gamma_drv.o] Error 1
> make[2]: *** [drivers/char/drm] Error 2
> make[1]: *** [drivers/char] Error 2
> make: *** [drivers] Error 2
> dev-daq:/usr/src/linux#
> 
> I'm using debian sarge and the kernel version I'm trying to build is
2.6.10
> and gcc version is 3.3.5 (if this matters).
> 
> Thanks,
> 
> Eric.
> 
> -----Original Message-----
> From: Bernd Porr [mailto:BerndPorr_at_f2s.com] 
> Sent: Monday, February 14, 2005 10:23 AM
> To: Eric Hudson; comedi
> Subject: Re: Comedi installation process...
> 
> Hi!
> 
> 1. Get the newest kernel from www.kernel.org
> 2. make menuconfig
> 3. load alternate configuration from /boot/config-2.6.8-2-386
> 4. change IDE/SCSI from M to Y to make it bootable w/o initrd.
> 5. make bzImage modules modules_install
> 6. cp arch/i386/boot/bzImage /boot
> 7. add bzImage to /etc/lilo.conf or /boot/grub/menu.lst WITHOUT initrd
> 8. boot with the new kernel
> 9. unpack comedi
> 10. ./configure
> 11. make and make install
> 12. unpack comedilib
> 13. ./configure --sysconfdir=/etc
> 14  make and make install
> 15. That's it.
> 
> /Bernd
> 
> ------------------------example menu.lst entry-----------------------
> title           Debian GNU/Linux, kernel 2.6.10
> root            (hd0,1)
> kernel          /boot/bzImage root=/dev/hda2 ro
> savedefault
> boot
> ---------------------------------------------------------------
> 
> www:    http://www.berndporr.me.uk/
>          http://www.linux-usb-daq.co.uk/
> Mobile: +44 (0)7840 340069
> Work:   +44 (0)141 330 5237
>          University of Glasgow
>          Department of Electronics & Electrical Engineering
>          Room 519, Rankine Building, Oakfield Avenue,
>          Glasgow, G12 8LT
> 
> 
> Eric Hudson wrote:
> 
>>Hello all,
>>
>> 
>>
>>I'm still having problems installing comedi on debian (sarge). I have 
>>followed the posts on the list and the instructions in INSTALL and I am 
>>still unable to get comedi installed. Could someone please list the 
>>steps I need to follow in this thread? I have no problem doing a fresh 
>>install of debian-sarge as this is a development box. I just need a 
>>little guidance on how to install comedi. So please someone list the 
>>steps here and I shall follow them and list my errors here if I get any.
>>
>> 
>>
>>Thanks,
>>
>> 
>>
>>Eric Hudson
>>
> 
> 
> 

Received on 2005-02-16Z16:08:04