OK your kernel is crippling itself because it is not able to confirm the 
flavor of VIA chipset you are using.


I am pasting this from a post I made regarding this very item.





Many folk have reported sluggish performance on their Mandrake 8.0 
installations.  Here are some reasons:

1.  See the article on MandrakeForum.  If you have a K6 with a VIA chipset, 
there is your explanation.

Also holds for some others--this was an engineering decision made on the 
basis of this:

http://www.au-ja.de/review-kt133a-1-en.html

2.  If you want to change that behavior, first choose whether you want 
reiserfs and full usb support or not.  If you do not care and don't mind a 
possibly significant risk to your data, then

put in CD2

open a terminal(superuser mode)

rpm -ivh /mnt/cdrom/Mandrake/RPMS/kernel-linus2.4-2.4.3-2mdk

Open Mandrake Control Center

Go to Boot Configuration and choose LILO or Graphical LILO

Modify your linux boot

change the boot image to

vmlinuz-2.4.3-2mdklinus

close 

reboot

You will then have all the performance kernel2.4 is capable of delivering, 
though you might be able to improve it further by consulting

man hdparm

and tuning any ide drives you have.

You may also have significant risk to your data, but that is another story.  
If you do not, or are willing to take the risk and really want reiser, there 
is also kernel recompilation to consider.

Civileme


On Friday 08 June 2001 17:48, Guillermo wrote:
> Hi,
>
>     I've been happily using MD 7.2 in my box and now I'm trying moving to
> 8.0.
> Everything seems to work properly but my hard drives that run extremely
> slowly, 2 MB/s.
> For exemple, from the comand:        "/sbin/hdparm -d 1 /dev/hda"     I
> get:
>
> "/dev/hda:
>       setting using -dma to 1 (on)
>       HDIO_SET_DMA failed: operation not permitted
>       using-dma  = 0 (off)"
>
> I've tyied to install it several times, upgrade de kernel, but nothing
> works.
> With MD 7.2 I used to get 16 Mb/s
>
> Does anyone has same suggestion.
> Thank you in advance.
>
>
>
>
> Here you can see the output of the "dmesg" comand
>
> "Linux version 2.4.5-3mdk ([EMAIL PROTECTED])
> (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release /
> Linux-Mandrake 8.1))
>  #1 Mon Jun 4 23:15:22 CEST 2001
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
> BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
> BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
> BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> On node 0 totalpages: 65520
> zone(0): 4096 pages.
> zone(1): 61424 pages.
> zone(2): 0 pages.
> Kernel command line: BOOT_IMAGE=linux root=1607
> Initializing CPU#0
> Detected 1214.458 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 2424.83 BogoMIPS
> Memory: 254792k/262080k available (996k kernel code, 6900k reserved,
>  351k data, 700k init, 0k highmem)
> Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
> Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
> Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
> Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
> CPU: Before vendor init, caps: 0183f9ff c1c7f9ff 00000000, vendor = 2
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 256K (64 bytes/line)
> CPU: After vendor init, caps: 0183f9ff c1c7f9ff 00000000 00000000
> CPU:     After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
> CPU:             Common caps: 0183f9ff c1c7f9ff 00000000 00000000
> CPU: AMD Athlon(tm) Processor stepping 02
> Enabling fast FPU save and restore... done.
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
> mtrr: detected mtrr type: Intel
> PCI: PCI BIOS revision 2.10 entry at 0xfb420, last bus=1
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> Unknown bridge resource 2: assuming transparent
> PCI: Using IRQ router default [1106/3099] at 00:00.0
> isapnp: Scanning for PnP cards...
> isapnp: No Plug & Play device found
> PnP: PNP BIOS installation structure at 0xc00fbe80
> PnP: PNP BIOS version 1.0, entry at f0000:beb0, dseg at f0000
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> apm: BIOS version 1.2 Flags 0x07 (Driver version 1.14)
> Starting kswapd v1.8
> VFS: Diskquotas version dquot_6.5.0 initialized
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05b (2001-05-03) with HUB-6 MANY_PORTS MULTIPORT
>  SHARE_IRQ SERIAL_PCI ISAPNP enabledttyS00 at 0x03f8 (irq = 4) is a 16550A
> block: queued sectors max/low 169285kB/56428kB, 512 slots per queue
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: IDE controller on PCI bus 00 dev 89
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: Unknown VIA SouthBridge, contact Vojtech Pavlik <[EMAIL PROTECTED]>
> hda: ST320420A, ATA DISK drive
> hdb: 10X8X32, ATAPI CD/DVD-ROM drive
> hdc: SAMSUNG SV0844D, ATA DISK drive
> hdd: SAMSUNG DVD-ROM SD-606F, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide0: probed IRQ 14 failed, using default.
> ide1 at 0x170-0x177,0x376 on irq 15
> ide1: probed IRQ 15 failed, using default.
> hda: 39851760 sectors (20404 MB) w/2048KiB Cache, CHS=2480/255/63
> hdc: 16514064 sectors (8455 MB) w/480KiB Cache, CHS=16383/16/63
> hdb: ATAPI 32X CD-ROM CD-R/RW drive, 4096kB Cache
> Uniform CD-ROM driver Revision: 3.12
> hdd: ATAPI 32X DVD-ROM drive, 512kB Cache
> Partition check:
>  hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
>  hdc: hdc1 < hdc5 hdc6 hdc7 >
> md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md.c: sizeof(mdp_super_t) = 4096
> autodetecting RAID arrays
> autorun ...
> ... autorun DONE.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 2048 buckets, 16Kbytes
> TCP: Hash tables configured (established 16384 bind 16384)
> Linux IP multicast router 0.06 plus PIM-SM
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> RAMDISK: Compressed image found at block 0
> Uncompressing........done.
> Freeing initrd memory: 167k freed
> VFS: Mounted root (ext2 filesystem).
> SCSI subsystem driver Revision: 1.00
> 8139too Fast Ethernet driver 0.9.15c loaded
> eth0: RealTek RTL8139 Fast Ethernet at 0xd084b000, 00:02:44:0c:69:2e, IRQ
> 11 eth0:  Identified 8139 chip type 'RTL-8139C'
> eth1: RealTek RTL8139 Fast Ethernet at 0xd084d000, 00:48:54:80:57:42, IRQ 3
> eth1:  Identified 8139 chip type 'RTL-8139B'
> reiserfs: checking transaction log (device 16:07) ...
> Using r5 hash to sort names
> ReiserFS version 3.6.25
> VFS: Mounted root (reiserfs filesystem) readonly.
> change_root: old root has d_count=2
> Trying to unmount old root ... okay
> Freeing unused kernel memory: 700k freed
> Adding Swap: 248968k swap-space (priority -1)
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
> Linux video capture interface: v1.00
> i2c-core.o: i2c core module
> i2c-algo-bit.o: i2c bit algorithm module
> bttv: driver version 0.7.65 loaded
> bttv: using 2 buffers with 2080k (4160k total for capture
> bttv: Bt8xx card found (0).
> bttv0: Bt878 (rev 2) at 00:0a.0, irq: 11, latency: 32, memory: 0xe3001000
> bttv0: subsystem: 6606:217d  =>  Leadtek WinFast TV 2000  =>  card=34
> bttv0: model: BT878(Leadtek WinFast 2000) [autodetected]
> i2c-core.o: adapter bt848 #0 registered as adapter 0.
> bttv0: i2c: checking for MSP34xx @ 0x80... not found
> bttv0: i2c: checking for TDA9875 @ 0xb0... not found
> bttv0: i2c: checking for TDA7432 @ 0x8a... not found
> tvaudio: TV audio decoder + audio/video mux driver
> tvaudio: known chips: tda9840,tda9873h,tda9850,tda9855,tea6300,
>  tea6420,tda8425,pic16c54 (PV951)
> i2c-core.o: driver generic i2c audio driver registered.
> i2c-core.o: driver i2c TV tuner driver registered.
> tuner: chip found @ 0x61
> bttv0: i2c attach [(unset)]
> i2c-core.o: client [(unset)] registered to adapter [bt848 #0](pos. 0).
> MSDOS FS: Using codepage 850
> MSDOS FS: IO charset iso8859-1
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-uhci.c: $Revision: 1.259 $ time 23:27:20 Jun  4 2001
> usb-uhci.c: High bandwidth mode enabled
> usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 3
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 2 ports detected
> usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 3
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 2
> hub.c: USB hub found
> hub.c: 2 ports detected
> usb-uhci.c: USB UHCI at I/O 0xe800, IRQ 3
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 3
> hub.c: USB hub found
> hub.c: 2 ports detected
> usb-uhci.c: v1.251 Georg Acher, Deti Fliegl, Thomas Sailer, Roman
> Weissgaerber
> usb-uhci.c: USB Universal Host Controller Interface driver
> Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ...
> SMSC Super-IO detection, now testing Ports 2F0, 370 ...
> PnPBIOS: Parport found PNPBIOS PNP0401 at io=0378,0778 irq=7 dma=3
> 0x378: FIFO is 16 bytes
> 0x378: writeIntrThreshold is 16
> 0x378: readIntrThreshold is 16
> 0x378: PWord is 8 bits
> 0x378: Interrupts are ISA-Pulses
> 0x378: ECP port cfgA=0x10 cfgB=0x40
> 0x378: ECP settings irq=<none or set by other means> dma=<none or set by
> other means>
> parport0: PC-style at 0x378 (0x778), irq 7, dma 3
> [PCSPP,TRISTATE,COMPAT,ECP,DMA]
> parport0: cpp_daisy: aa5500ff(38)
> parport0: assign_addrs: aa5500ff(38)
> parport0: cpp_daisy: aa5500ff(38)
> parport0: assign_addrs: aa5500ff(38)
> eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
> eth1: Setting half-duplex based on auto-negotiated partner ability 0000.
> es1371: version v0.30 time 23:26:23 Jun  4 2001
> es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
> es1371: found es1371 rev 8 at io 0xd000 irq 11
> es1371: features: joystick 0x0
> ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)
> divide error: 0000
> CPU:    0
> EIP:    0010:[<c018a590>]
> EFLAGS: 00010246
> eax: 000003e8   ebx: c8545f0c   ecx: 00000032   edx: 00000000
> esi: bffff470   edi: c8545f10   ebp: c033b320   esp: c8545e88
> ds: 0018   es: 0018   ss: 0018
> Process hdparm (pid: 1361, stackpage=c8545000)
> Stack: c8545f0c bffff470 c8545f10 bffff46c c033b44c 42000000 00000000
> c8545f0c
>        c8545e1c 00000000 00000000 00000000 c017d771 c033b320 000000ef
> 00000042
>        c017d7ac c033b320 00000042 cb6cb320 ffffffe7 bffff46c 0000031f
> c015e69e
> Call Trace: [<c017d771>] [<c017d7ac>] [<c015e69e>] [<c015ebae>]
> [<c016091b>] [<c013611e>] [<c013ca56>] [<c01360f8>] [<c0106d57>]
> Code: f7 35 04 c1 31 c0 89 c7 a1 f8 c0 31 c0 66 8b 40 08 31 d2 83
>  divide error: 0000
> CPU:    0
> EIP:    0010:[<c018a590>]
> EFLAGS: 00010246
> eax: 000003e8   ebx: c3809f0c   ecx: 00000032   edx: 00000000
> esi: bffff480   edi: c3809f10   ebp: c033b320   esp: c3809e88
> ds: 0018   es: 0018   ss: 0018
> Process hdparm (pid: 1373, stackpage=c3809000)
> Stack: c3809f0c bffff480 c3809f10 bffff47c c033b44c 42000000 00000000
> c3809f0c
>        c3809e1c 00000000 00000000 00000000 c017d771 c033b320 000000ef
> 00000042
>        c017d7ac c033b320 00000042 cafbd8a0 ffffffe7 bffff47c 0000031f
> c015e69e
> Call Trace: [<c017d771>] [<c017d7ac>] [<c015e69e>] [<c015ebae>]
> [<c016091b>] [<c013611e>] [<c013ca56>] [<c01360f8>] [<c0106d57>]
> Code: f7 35 04 c1 31 c0 89 c7 a1 f8 c0 31 c0 66 8b 40 08 31 d2 83
>  <6>cdrom: open failed.
> inserting floppy driver for 2.4.5-3mdk
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> end_request: I/O error, dev 02:00 (floppy), sector 0
> cdrom: open failed.
> end_request: I/O error, dev 02:00 (floppy), sector 0"
>
>
>
>
> And the output of "/sbin/hdparm -i /dev/hda":
>
> "/dev/hda:
> Model=ST320420A, FwRev=3.21, SerialNo=3CL0D02V
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
>  BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=8
>  CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=39851760
>  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
>  PIO modes: pio0 pio1 pio2 pio3 pio4
>  DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2
>  AdvancedPM=no
>  Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4"

Reply via email to