Re: [patch] VIA 4.2x driver for 2.2 kernels

Shane Wegner (shane@cm.nu)
Wed, 21 Feb 2001 15:45:21 -0800


On Wed, Feb 21, 2001 at 08:23:48AM +0100, Vojtech Pavlik wrote:
> On Tue, Feb 20, 2001 at 11:15:02PM -0800, Shane Wegner wrote:
> > On Wed, Feb 21, 2001 at 08:09:19AM +0100, Vojtech Pavlik wrote:
> > >
> > > > > You wanted my VIA driver for 2.2. Here is a patch that brings the very
> > > > > latest 4.2 driver to the 2.2 kernel. The patch is against the
> > > > > 2.2.19-pre13 kernel plus yours 1221 ide patch.
> > > >
> > > > This drivers breaks with my HP 8110 CD-R drive. It's
> > > > sitting on primary slave of a Via 686B controler. When I
> > > > try to do a hdparm -d1 -u1 -k1 /dev/hdb, the kernel locks
> > > > up hard. Not even an oops. Reverting to the old driver
> > > > works fine.
> > >
> > > Don't do that. Use the kernel option to enable DMA instead.

Hi,

I have investigated this problem further. The hdparm
triggers the error but is not the cause. hdparm accesses
/dev/hdb which is my cd-r drive. This triggers the loading
of the cdrom and ide-cd modules. Manually loading cdrom
succeeds, after which, manually loading ide-cd crashes the
system. No need to even open() the device. This works
fine with the VIA driver from 2.2.19pre14+ide-2.2.18-1221.

Regards,
Shane

-- 
Shane Wegner: shane@cm.nu
              http://www.cm.nu/~shane/
PGP:          1024D/FFE3035D
              A0ED DAC4 77EC D674 5487
              5B5C 4F89 9A4E FFE3 035D
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/