[wellylug] new hard disk problems

JP jumbophut at yahoo.co.in
Fri Jun 11 22:12:46 NZST 2004


 --- Mark Signal wrote: 

> Thanks
> 
> I have this -
> CONFIG_BLK_DEV_VIA82CXXX=m
> presumably this means the chipdset driver loads as a
> module?
> 
That's right.
>
> and this seems normal?
>
It probably doesn't hurt to replace '=m' with '=y', in
case the kernel is trying to enable DMA prior to
modules being loaded.  (You need the standard ide
driver and ext2/ext3/reiserfs/yourfs driver to be =y
for the same reason -- the kernel can't load the
modules if it can't read the modules files!).

You will of course need to recompile the kernel.  On
Debian, it's as easy as:

0. backup your system in case I'm wrong!!!
1. su root
2. apt-get kernel-source-2.6.x (where x is the version
you have now).
3. cd /usr/src && tar -xvjf
kernel-source-2.6.x.tar.bz2
4. cd kernel-source-2.6.x.tar.bz2 && cp
/boot/config-2.6.x .config
5. make menuconfig (then change the VIA device from m
to y, exit and save configuration)
6. If 5 doesn't work, do 'make oldconfig' and
following that, edit the .config file manually to
replace =m with =y.
7. make-kpkg kernel_image
8. cd .. # to /usr/src
9. You should see a .deb package here.  Install using
dpkg -i packagename.deb and follow the instructions.
10. Reboot.  Tada!

> 
> CONFIG_BLK_DEV_IDEDMA_PCI=y
> # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
> CONFIG_BLK_DEV_IDEDMA=y
> 

If you can do a 'make menuconfig' or 'make oldconfig',
you can invoke a help screen for each option (use the
? key as I recall).  In the 2.4 kernels one of the
options says to always enable DMA if available.  If
you continue to have problems, you could disable that
option (assuming 2.6 has it) and play around enabling
it manually using hdparm.

If you get it working manually using hdparm, the
hwtools package is handy for making it happen
automatically just after boot.

Cheers
Tony

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/




More information about the wellylug mailing list