On Mon, 19 Mar 2001, Ethan Benson wrote:
>: On Mon, Mar 19, 2001 at 07:59:57AM +0000, Chris Howells wrote:
>: > > Generally you need to be root to use hdparm.
>: >
>: > I am root! I wouldn't imagine it working it with a non-priveleged user.
>: >
>: > There seems to be a gerneral problem with hdparm not being happy under
>: > the 2.4 kernel -- if I boot 2.2.18 again it works fine.
>:
>: what chipset? some (VIA) have been blacklisted in the kernel since
>: they are too buggy (or the kernel driver is too buggy)
maybe someone could give me a hint..
apple:~# lspci
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0305
(rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device 8305
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super]
(rev 22)
00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev
10)
00:07.3 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev
10)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super
ACPI] (rev 30)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686
[Apollo Super AC97/Audio] (rev 20)
01:00.0 VGA compatible controller: nVidia Corporation Riva TNT2
Model 64 (rev 15)
dmesg:
PCI: PCI BIOS revision 2.10 entry at 0xfb260, last bus=1
PCI: Probing PCI hardware
PCI: device 00:07.1 has unknown header type 20, ignoring.
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
apple:~# uname -r
2.4.2
apple:~# hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Die Operation ist nicht erlaubt
using_dma = 0 (off)
apple:~# cat /proc/ide/hda/model
ST320423A
apple:~# cat /usr/src/linux-2.4.2/.config
<snip>
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
CONFIG_BLK_DEV_VIA82CXXX=y
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y
apple:~# ls -asl /proc/ide/
insgesamt 0
0 dr-xr-xr-x 4 root root 0 Mär 20 15:36 .
0 dr-xr-xr-x 62 root root 0 Mär 20 16:10 ..
0 -r--r--r-- 1 root root 0 Mär 20 15:36 drivers
0 lrwxrwxrwx 1 root root 8 Mär 20 15:36 hda ->
ide0/hda
0 lrwxrwxrwx 1 root root 8 Mär 20 15:36 hdc ->
ide1/hdc
0 dr-xr-xr-x 3 root root 0 Mär 20 15:36 ide0
0 dr-xr-xr-x 3 root root 0 Mär 20 15:36 ide1
so I'm a bit lost here,
drivers/ide/via82cxxx.c suggests a file /proc/ide/via to be, but
there's no and no boot message regarding via82cxxx.c':
printk(KERN_INFO "VP_IDE: VIA %s (rev %02x) IDE %s controller on
pci%s\n"
Thanks
Claus
Attachment:
pgpcwq47o1LK6.pgp
Description: PGP signature