[linux-audio-user] Re-compiling Demudi kernel help please: Digigram VXpocket2

Joel Roth joelz at pobox.com
Wed May 24 12:02:01 EDT 2006


> On Wed, 24 May 2006 at 11:25 +1200, Hamish Low wrote:
> > Firstly thanks to Asbjørn, Lee, Tim and others who have given me advice 
> > so far.
> > 
> > I tried using Asbjørn's vanilla kernel but it didn't work as our laptops 
> > are different, but your config settings were a good guide.
> > 
> > I downloaded the source package for 2.6.16
> > I did make oldconfig, to use the config already working on my machine 
> > (just without the VXpocket support), I tried compiling the kernel as per 
> > the instructions on the Demudi page 
> > <http://demudi.agnula.org/wiki/Low-latencyKernelBuildingHowto>, and by 
> > referencing Asbjørn's config settings
> > Lee had written that CONFIG_ISAPNP must be enabled, but this wasn't an 
> > option that I could choose in menuconfig, there was just a hyphen beside 
> > this option, also this wasn't enabled in Asbjørn's settings which 
> > reportedly works.
> > 
> > but got this error message on reboot
> > 
> > Kernel panic - not syncing: VFS: Unable to mount root fs on 
> > unknown-block(0,0)
> > 
> > I assume this means I didn't have the exact settings configured for my 
> > laptop.

On Wed, May 24, 2006 at 07:44:59AM -0600, Hans Fugal wrote:
> Your problem is that stock kernels usually use an initrd, but when you
> compile by hand you aren't setting up the initrd. You can either grok
> initrd, or compile a few more things into the kernel instead of as
> modules. Needless to say the latter is by far easier.

That is a judgement call. 

For the former (under debian, not guaranteed, an example)

	apt-get initrd-tools

	mkinitrd -o /boot/initrd-img-2.6.16 2.6.16

	Add an initrd line to GRUB or LILO

For the latter (ditto, guaranteed not to work)

	> You need the appropriate disk drivers (IDE/ATA, for example) and the
	> appropriate file system(s) compiled in (ext3 for example). 

	Here is a start, all the items containing EXT2, EXT3, IDE
	but not VIDEO.

	Just change all the 'm' or 'not set' to 'y', append to
	the end of .config, and compile. (Praying doesn't help,
	but it might make you feel better. Pizza and beer are
	also considered highly effective.)

	$ grep EXT3 /src/linux-2.6.16/.config
	CONFIG_EXT3_FS=m
	CONFIG_EXT3_FS_XATTR=y
	CONFIG_EXT3_FS_POSIX_ACL=y
	CONFIG_EXT3_FS_SECURITY=y
	$ grep EXT2 /src/linux-2.6.16/.config
	CONFIG_EXT2_FS=y
	CONFIG_EXT2_FS_XATTR=y
	CONFIG_EXT2_FS_POSIX_ACL=y
	CONFIG_EXT2_FS_SECURITY=y
	# CONFIG_EXT2_FS_XIP is not set
	$ grep IDE /src/linux-2.6.16/.config | grep -v VIDEO
	# CONFIG_PARIDE is not set
	CONFIG_IDE=m
	CONFIG_BLK_DEV_IDE=m
	# Please see Documentation/ide.txt for help/info on IDE drives
	# CONFIG_BLK_DEV_IDE_SATA is not set
	# CONFIG_BLK_DEV_HD_IDE is not set
	CONFIG_BLK_DEV_IDEDISK=m
	# CONFIG_IDEDISK_MULTI_MODE is not set
	# CONFIG_BLK_DEV_IDECS is not set
	CONFIG_BLK_DEV_IDECD=m
	CONFIG_BLK_DEV_IDETAPE=m
	CONFIG_BLK_DEV_IDEFLOPPY=m
	CONFIG_BLK_DEV_IDESCSI=m
	# CONFIG_IDE_TASK_IOCTL is not set
	# IDE chipset support/bugfixes
	CONFIG_IDE_GENERIC=m
	# CONFIG_BLK_DEV_IDEPNP is not set
	CONFIG_BLK_DEV_IDEPCI=y
	CONFIG_IDEPCI_SHARE_IRQ=y
	CONFIG_BLK_DEV_IDEDMA_PCI=y
	# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
	CONFIG_IDEDMA_PCI_AUTO=y
	# CONFIG_IDEDMA_ONLYDISK is not set
	# CONFIG_IDE_ARM is not set
	CONFIG_BLK_DEV_IDEDMA=y
	# CONFIG_IDEDMA_IVB is not set
	CONFIG_IDEDMA_AUTO=y
	CONFIG_JOYSTICK_SIDEWINDER=m
	# CONFIG_FB_TRIDENT is not set
	# CONFIG_SND_TRIDENT is not set
	CONFIG_SOUND_TRIDENT=m



-- 
Joel Roth


More information about the linux-audio-user mailing list