recommended gcc compiler version
This is a newbie question, but what are the recommended gcc compiler versions for compiling, Linux 2.2.18? Linux 2.4.0? I'd rather use the recommended version than not and have difficult bugs. Thanks. If there is a FAQ, kindy direct me to it, or, if this info isn't in there specificly, perhaps a FAQ maintainer can add this stuff. -- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
recommended gcc compiler version
This is a newbie question, but what are the recommended gcc compiler versions for compiling, Linux 2.2.18? Linux 2.4.0? I'd rather use the recommended version than not and have difficult bugs. Thanks. If there is a FAQ, kindy direct me to it, or, if this info isn't in there specificly, perhaps a FAQ maintainer can add this stuff. -- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: 2.2.17 + ide patches + 61gb ibm disc = problem
On Tuesday 05 December 2000 11:15, Daniel Sangenberg wrote: > Hi! > > I have a problem with 2.2.17 + the latest ide patches and 2 * 61 gb ibm ide > discs, the discs are connected as slave on a two channels (onboard ide > channels on a asus p2b (i440BX Chipset)), there is nohing else connected on > the ide interface and the jumper settings are identical. > > dmesg output: > > Uniform Multi-Platform E-IDE driver Revision: 6.30 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > PIIX4: IDE controller on PCI bus 00 dev 21 > PIIX4: chipset revision 1 > PIIX4: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:DMA > ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:DMA > hdb: IBM-DTLA-307060, ATA DISK drive > hdd: IBM-DTLA-307060, ATA DISK drive > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > ide1 at 0x170-0x177,0x376 on irq 15 > hdb: IBM-DTLA-307060, 58644MB w/1916kB Cache, CHS=7476/255/63, UDMA(33) > hdd: IBM-DTLA-307060, 58644MB w/1916kB Cache, CHS=119150/16/63, UDMA(33) > > hdd1 [events: 0001](write) hdd1's sb offset: 60051456 > hdb1 [events: 0001](write) hdb1's sb offset: 60050816 > I don't understand why you have set them to be slaves when they are the only drives on the ports. Shouldn't you be setting the jumpers on both drives into the Single Drive (default) settings? I always thought the Master and Slave positions are to be used only when connecting two drives on one port. hda and hdc should be the devices. -- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: 2.2.17 + ide patches + 61gb ibm disc = problem
On Tuesday 05 December 2000 11:15, Daniel Sangenberg wrote: Hi! I have a problem with 2.2.17 + the latest ide patches and 2 * 61 gb ibm ide discs, the discs are connected as slave on a two channels (onboard ide channels on a asus p2b (i440BX Chipset)), there is nohing else connected on the ide interface and the jumper settings are identical. dmesg output: Uniform Multi-Platform E-IDE driver Revision: 6.30 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller on PCI bus 00 dev 21 PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:DMA ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:DMA hdb: IBM-DTLA-307060, ATA DISK drive hdd: IBM-DTLA-307060, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hdb: IBM-DTLA-307060, 58644MB w/1916kB Cache, CHS=7476/255/63, UDMA(33) hdd: IBM-DTLA-307060, 58644MB w/1916kB Cache, CHS=119150/16/63, UDMA(33) hdd1 [events: 0001](write) hdd1's sb offset: 60051456 hdb1 [events: 0001](write) hdb1's sb offset: 60050816 I don't understand why you have set them to be slaves when they are the only drives on the ports. Shouldn't you be setting the jumpers on both drives into the Single Drive (default) settings? I always thought the Master and Slave positions are to be used only when connecting two drives on one port. hda and hdc should be the devices. -- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: Via audio driver update
On Thursday 02 November 2000 02:40, Vojtech Pavlik wrote: > On Thu, Nov 02, 2000 at 12:01:09AM -0500, Jeff Garzik wrote: > > Please grab 1.1.14, there were a number of bug fixes since 1.1.10. You > > can get this version in the recently-released 2.4.0-test10 kernel, or > > download from http://sourceforge.net/projects/gkernel/ > > Hi! > > I'd like to report a bug, too. On my system, with the test10 kernel, > regardless of what frequency the software sets, the data is always > played at 48 KHz. > > Via 686a audio driver 1.1.14 > ac97_codec: AC97 Audio codec, id: 0x574d:0x4c00 (Wolfson WM9704) > via82cxxx: board #1 at 0xDC00, IRQ 10 > > The codec doesn't support variable rate input, as far as I know. Could > that be the cause? What is the difference between the VIA686A kernel distribution audio driver and the VIA686a module provided by ALSA (which works fine)? It seems like ALSA provides a fully functioning VIA686a module. Why the duplication of effort/re-coding? I suppose there is some major difference that I don't understand? -- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: Via audio driver update
On Thursday 02 November 2000 02:40, Vojtech Pavlik wrote: On Thu, Nov 02, 2000 at 12:01:09AM -0500, Jeff Garzik wrote: Please grab 1.1.14, there were a number of bug fixes since 1.1.10. You can get this version in the recently-released 2.4.0-test10 kernel, or download from http://sourceforge.net/projects/gkernel/ Hi! I'd like to report a bug, too. On my system, with the test10 kernel, regardless of what frequency the software sets, the data is always played at 48 KHz. Via 686a audio driver 1.1.14 ac97_codec: AC97 Audio codec, id: 0x574d:0x4c00 (Wolfson WM9704) via82cxxx: board #1 at 0xDC00, IRQ 10 The codec doesn't support variable rate input, as far as I know. Could that be the cause? What is the difference between the VIA686A kernel distribution audio driver and the VIA686a module provided by ALSA (which works fine)? It seems like ALSA provides a fully functioning VIA686a module. Why the duplication of effort/re-coding? I suppose there is some major difference that I don't understand? -- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
SMP irq sharing problem in 2.2.17
ster #01: 00170011 ... : max redirection entries: 0017 ... : IO APIC version: 0011 register #02: ... : arbitration: 00 IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 100 0 00000 01 000 00 000 0 01159 02 0FF 0F 000 0 01151 03 000 00 000 0 01161 04 000 00 000 0 01169 05 000 00 000 0 01171 06 000 00 000 0 01179 07 000 00 000 0 01181 08 000 00 000 0 01189 09 000 00 100 0 00000 0a 000 00 100 0 00000 0b 000 00 100 0 00000 0c 000 00 000 0 01191 0d 000 00 100 0 00000 0e 000 00 000 0 01199 0f 000 00 000 0 011A1 10 0FF 0F 110 1 011A9 11 0FF 0F 110 1 011B1 12 0FF 0F 110 1 011B9 13 0FF 0F 110 1 011C1 14 000 00 100 0 00000 15 000 00 100 0 00000 16 000 00 100 0 00000 17 000 00 100 0 00000 IRQ to pin mappings: IRQ0 -> 2 IRQ1 -> 1 IRQ3 -> 3 IRQ4 -> 4 IRQ5 -> 5 IRQ6 -> 6 IRQ7 -> 7 IRQ8 -> 8 IRQ12 -> 12 IRQ13 -> 13 IRQ14 -> 14 IRQ15 -> 15 IRQ16 -> 16 IRQ17 -> 17 IRQ18 -> 18 IRQ19 -> 19 done. checking TSC synchronization across CPUs: passed. Setting commenced=1, go go go PCI: PCI BIOS revision 2.10 entry at 0xfb2d0 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI->APIC IRQ transform: (B0,I7,P3) -> 19 PCI->APIC IRQ transform: (B0,I7,P3) -> 19 PCI->APIC IRQ transform: (B0,I7,P2) -> 18 PCI->APIC IRQ transform: (B0,I12,P0) -> 18 PCI->APIC IRQ transform: (B0,I14,P0) -> 16 PCI->APIC IRQ transform: (B0,I18,P0) -> 17 Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP TCP: Hash tables configured (ehash 131072 bhash 65536) Starting kswapd v 1.5 parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPEPP,ECPPS2] Detected PS/2 Mouse Port. Serial driver version 4.27 with no serial options enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A pty: 256 Unix98 ptys configured lp0: using parport0 (polling). Real Time Clock Driver v1.09 loop: registered device at major 7 Uniform Multi-Platform E-IDE driver Revision: 6.30 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 39 VP_IDE: chipset revision 16 VP_IDE: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:pio, hdd:pio PDC20265: IDE controller on PCI bus 00 dev 60 PDC20265: chipset revision 2 PDC20265: not 100% native mode: will probe irqs later PDC20265: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode. ide2: BM-DMA at 0xe800-0xe807, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0xe808-0xe80f, BIOS settings: hdg:pio, hdh:DMA hde: WDC WD205BA, ATA DISK drive hdg: CD-540E, ATAPI CDROM drive ide2 at 0xd800-0xd807,0xdc02 on irq 18 ide3 at 0xe000-0xe007,0xe402 on irq 18 hde: WDC WD205BA, 19574MB w/1961kB Cache, CHS=39770/16/63, UDMA(66) hdg: ATAPI 40X CD-ROM drive, 128kB Cache Uniform CD-ROM driver Revision: 3.11 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P. Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0xec00, IRQ 16. eth0: RealTek RTL-8029 found at 0xec00, IRQ 16, 00:E0:29:44:7F:CF. Partition check: hde: [PTBL] [2495/255/63] hde1 hde2 hde3 hde4 < hde5 hde6 hde7 > VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 56k freed Adding Swap: 128484k swap-space (priority -1) kcminfo uses obsolete /proc/pci interface ==== -- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: ide-scsi problems with plextor IDE drive
I'm having the same exact problem with a Plextor PX-8432T CD-RW drive that another person reported back in March (see copy of message by person identified as "c o r e" below): Vendor: PLEXTOR Model: CD-R PX-W8432T Rev: 1.07 Type: CD-ROM ANSI SCSI revision: 02 This is an IDE CD-RW drive on /dev/hdc, configured as a SCSI using ide-scsi emulation. It shows up on my system as /dev/sr0 and /dev/scd0 (I don't know what the difference is between the two device files, they seem to function the same). I cannot mount it! However, somehow (I have no idea how) I did manage to get it to mount once but after rebooting it would not mount again. Even though I can't mount it, I can write audio cds with it (and likely data cds too but I have not tried that yet). When the drive is configured as an IDE drive on /dev/hdc, I can mount it without any problem as long as I give mount -t iso9660. Without the -t iso9660 it fails to mount. Its very strange that I can write cds and play cd music off the drive, but if I try to mount it, it fails just like "c o r e" experienced below. Is there any fix for this yet? I'm using Linux kernel 2.2.16. Any help greatly appreciated. -- On Tue Mar 21 2000, 20:33:58 EST, c o r e ([EMAIL PROTECTED]) wrote: I've been having some intermittent problems with a brand new plextor IDE CD-RW drive under linux. I haven't had any problems reading or writing to the drive under winDOS 95, nor have I had problems writing to the drive using cdrecord, but I've had tons of problems reading from the drive (e.g. mounting a CD). I'm accessing the drive via ide-scsi emulation. I'm running 2.2.14 and have tried the latest IDE patch (ide2124) to see if that would help, but I still have problems. Here's what happens when I try to mount a CD: [root@manteador ~]$ mount -t iso9660 -o ro /dev/scd0 /mnt/cdrom mount: wrong fs type, bad option, bad superblock on /dev/scd0, or too many mounted file systems [root@manteador ~]$ Relevant errors from 'dmesg' caused by the mount attempt: scsi0 : SCSI host adapter emulation for IDE ATAPI devices scsi : 1 host. Vendor: PLEXTOR Model: CD-R PX-W8432T Rev: 1.05 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray Uniform CDROM driver Revision: 2.56 VFS: Disk change detected on device sr(11,0) ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: The scsi wants to send us more data than expected - discarding data Unable to identify CD-ROM format. /etc/conf.modules relevant contents: # kernel 2.2.x ATAPI SCSI emulation options ide-cd ignore=hdc # if /dev/hdc is your CD-writer post-install sr_mod /sbin/modprobe ide-scsi # auto probe module alias scd0 sr_mod # load sr_mod upon access of scd0 alias scsi_hostadaptor ide-scsi # SCSI host adaptor emulation I need some assistance in determining if this is a hardware problem or a linux problem so that I can RMA the drive or linux ;-) If I try to mount the CD using straight ATAPI mode it works just fine (i.e. /dev/hdc without scsi modules). Now oddly that I've re-enabled the ide-scsi modules, I can mount cdroms with no problem. This doesn't always work. Perhaps I should enable verbose scsi error reporting... I'll wait to hear back from you fine folks first. Please CC me on replies since I'm not subscribed. Tx! -core --- -- ---- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: ide-scsi problems with plextor IDE drive
I'm having the same exact problem with a Plextor PX-8432T CD-RW drive that another person reported back in March (see copy of message by person identified as "c o r e" below): Vendor: PLEXTOR Model: CD-R PX-W8432T Rev: 1.07 Type: CD-ROM ANSI SCSI revision: 02 This is an IDE CD-RW drive on /dev/hdc, configured as a SCSI using ide-scsi emulation. It shows up on my system as /dev/sr0 and /dev/scd0 (I don't know what the difference is between the two device files, they seem to function the same). I cannot mount it! However, somehow (I have no idea how) I did manage to get it to mount once but after rebooting it would not mount again. Even though I can't mount it, I can write audio cds with it (and likely data cds too but I have not tried that yet). When the drive is configured as an IDE drive on /dev/hdc, I can mount it without any problem as long as I give mount -t iso9660. Without the -t iso9660 it fails to mount. Its very strange that I can write cds and play cd music off the drive, but if I try to mount it, it fails just like "c o r e" experienced below. Is there any fix for this yet? I'm using Linux kernel 2.2.16. Any help greatly appreciated. -- On Tue Mar 21 2000, 20:33:58 EST, c o r e ([EMAIL PROTECTED]) wrote: I've been having some intermittent problems with a brand new plextor IDE CD-RW drive under linux. I haven't had any problems reading or writing to the drive under winDOS 95, nor have I had problems writing to the drive using cdrecord, but I've had tons of problems reading from the drive (e.g. mounting a CD). I'm accessing the drive via ide-scsi emulation. I'm running 2.2.14 and have tried the latest IDE patch (ide2124) to see if that would help, but I still have problems. Here's what happens when I try to mount a CD: [root@manteador ~]$ mount -t iso9660 -o ro /dev/scd0 /mnt/cdrom mount: wrong fs type, bad option, bad superblock on /dev/scd0, or too many mounted file systems [root@manteador ~]$ Relevant errors from 'dmesg' caused by the mount attempt: scsi0 : SCSI host adapter emulation for IDE ATAPI devices scsi : 1 host. Vendor: PLEXTOR Model: CD-R PX-W8432T Rev: 1.05 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray Uniform CDROM driver Revision: 2.56 VFS: Disk change detected on device sr(11,0) ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: The scsi wants to send us more data than expected - discarding data these errors repeat a total of 84 times Unable to identify CD-ROM format. /etc/conf.modules relevant contents: # kernel 2.2.x ATAPI SCSI emulation options ide-cd ignore=hdc # if /dev/hdc is your CD-writer post-install sr_mod /sbin/modprobe ide-scsi # auto probe module alias scd0 sr_mod # load sr_mod upon access of scd0 alias scsi_hostadaptor ide-scsi # SCSI host adaptor emulation I need some assistance in determining if this is a hardware problem or a linux problem so that I can RMA the drive or linux ;-) If I try to mount the CD using straight ATAPI mode it works just fine (i.e. /dev/hdc without scsi modules). Now oddly that I've re-enabled the ide-scsi modules, I can mount cdroms with no problem. This doesn't always work. Perhaps I should enable verbose scsi error reporting... I'll wait to hear back from you fine folks first. Please CC me on replies since I'm not subscribed. Tx! -core --- -- ---- Robert B. Easter [EMAIL PROTECTED] - - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - -- http://www.comptechnews.com/~reaster/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/