You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(210) |
Jun
(169) |
Jul
(167) |
Aug
(128) |
Sep
(218) |
Oct
(120) |
Nov
(86) |
Dec
(71) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(91) |
Feb
(179) |
Mar
(52) |
Apr
(56) |
May
(183) |
Jun
(62) |
Jul
(63) |
Aug
(49) |
Sep
(36) |
Oct
(35) |
Nov
(72) |
Dec
(30) |
2002 |
Jan
(53) |
Feb
(61) |
Mar
(56) |
Apr
(13) |
May
(1) |
Jun
(7) |
Jul
(80) |
Aug
(73) |
Sep
(30) |
Oct
(29) |
Nov
(8) |
Dec
(40) |
2003 |
Jan
(10) |
Feb
(2) |
Mar
(4) |
Apr
(9) |
May
(3) |
Jun
(19) |
Jul
(64) |
Aug
(53) |
Sep
(28) |
Oct
(7) |
Nov
(3) |
Dec
(21) |
2004 |
Jan
(11) |
Feb
(30) |
Mar
(18) |
Apr
(1) |
May
(13) |
Jun
(18) |
Jul
(13) |
Aug
|
Sep
(9) |
Oct
(5) |
Nov
|
Dec
|
2005 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
(21) |
Sep
(7) |
Oct
(10) |
Nov
(6) |
Dec
|
2006 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(2) |
Sep
(6) |
Oct
(10) |
Nov
(8) |
Dec
(3) |
2007 |
Jan
(3) |
Feb
(6) |
Mar
(1) |
Apr
(6) |
May
(10) |
Jun
(7) |
Jul
(13) |
Aug
(8) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
From: Geert U. <ge...@li...> - 2001-04-16 19:54:29
|
On Mon, 16 Apr 2001, Glenn Hisdal wrote: > On 16-Apr-2001, Paolo wrote: > > Have you see the new verson of MacOnLinux? > > On site they say that now a possible porting for other linuxppc system is > > possible. > > Will it be true? :-) > > I have now tested this new version of MOL using a 2.4.3 kernel. > First it complained about unresolved symbol 'find_path_device', > so I added a find_path_device function that just returned NULL in > apus_setup.c (after looking at the mol-branch sources). > > Now, the MOL module is loaded, but I get an oops afterwards: > > MOL module inited > Machine check in kernel mode. > Caused by (from SRR1=41040): Transfer error ack signal > Oops: machine check, sig: 7 > NIP: FFF00544 XER: 20000000 LR: 10002B94 SP: 7FFFFC80 REGS: c5dd9e90 TRAP: 0200 ^^^^^^^^ Weird address. That's where you can find the MacOS ROM on Old World machines, IIRC. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: Glenn H. <gh...@c2...> - 2001-04-16 19:41:25
|
Hello, On 16-Apr-2001, Paolo wrote: > Have you see the new verson of MacOnLinux? > On site they say that now a possible porting for other linuxppc system is > possible. > Will it be true? :-) I have now tested this new version of MOL using a 2.4.3 kernel. First it complained about unresolved symbol 'find_path_device', so I added a find_path_device function that just returned NULL in apus_setup.c (after looking at the mol-branch sources). Now, the MOL module is loaded, but I get an oops afterwards: MOL module inited Machine check in kernel mode. Caused by (from SRR1=41040): Transfer error ack signal Oops: machine check, sig: 7 NIP: FFF00544 XER: 20000000 LR: 10002B94 SP: 7FFFFC80 REGS: c5dd9e90 TRAP: 0200 MSR: 00041040 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00 TASK = c5dd8000[554] 'mol' Last syscall: 6 last math c5f0a000 last altivec 00000000 GPR00: 10002B94 7FFFFC80 C01E8000 00000001 00000001 7FFFFCFC 300168A8 00000020 GPR08: FFFFFFC0 FFFFFFE0 7FFFFC48 7FFFFC20 48242882 10066004 00000000 100B2550 GPR16: 10010000 7FFFDC18 00000000 00000000 10002B94 0DDD9E80 100B1F50 00000000 GPR24: 0FE15BF8 10040670 3002678C 00000001 7FFFFCFC 00000001 10040000 100A25B0 Call backtrace: 10002B94 0FD3669C 00000000 After this, it just hangs. - glenn |
From: Andreas <an...@ma...> - 2001-04-16 10:53:03
|
Hi everyone Concerning the problems with my internal parallelport, I ran my system two times with the debug option on, and here's what I got: Searching for SAVEKMSG magic... Found 4750 bytes at 0x001e0010 >>>>>>>>>>>>>>>>>>>> Total memory = 71MB; using 512kB for hash table (at c0300000) Linux version 2.4.3 (michdaen@pismo) (gcc version 2.95.3 20010219 (prerelease)) #67 Tue Apr 3 14:55:28 CEST 2001 Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL ZORRO3 On node 0 totalpages: 18304 zone(0): 18304 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: debug=mem -k vmlinux root=/dev/hda1 video=pm2fb:mode:1024x768-75 amiga_enable_irq: Trying to enable auto-vector IRQ 1 amiga_enable_irq: Trying to enable auto-vector IRQ 3 amiga_enable_irq: Trying to enable auto-vector IRQ 4 amiga_enable_irq: Trying to enable auto-vector IRQ 5 amiga_enable_irq: Trying to enable auto-vector IRQ 7 amiga_enable_irq: Trying to enable auto-vector IRQ 2 amiga_enable_irq: Trying to enable auto-vector IRQ 6 APUS: BATs=1, BUS=67MHz, RAM=70ns, PCI bridge=1 time_init: decrementer frequency = 16.503756 MHz Console: colour dummy device 80x25 Calibrating delay loop... 395.67 BogoMIPS Memory: 68656k available (1680k kernel code, 788k data, 264k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware apus_pcibios_fixup: PCI mem resource requested PCI:0:1:0: Resource ef000000-ef01ffff (f=200) PCI:0:1:0: Resource e0000000-e07fffff (f=200) PCI:0:1:0: Resource e1000000-e17fffff (f=200) PCI: Switching off ROM of 00:01.0 Zorro: Probing AutoConfig expansion devices: 2 devices Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Starting kswapd v1.8 amiga_disable_irq: Trying to disable auto-vector IRQ 0 Console: switching to colour frame buffer device 128x48 fb0: CVisionPPC/BVisionPPC (Permedia2), using 8192K of video memory. fb1: Amiga AGA frame buffer device, using 1280K of video memory clgen: Driver for Cirrus Logic based graphic boards, v1.9.8 Couldn't find PCI device pty: 256 Unix98 ptys configured block: queued sectors max/low 45381kB/15127kB, 192 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 ide0: Gayle IDE interface (A4000 style) hda: QUANTUM FIREBALLP LM15, ATA DISK drive hdb: LTN526, ATAPI CD/DVD-ROM drive ide0 at 80dd2020 on irq 0x0000000c hda: 29336832 sectors (15020 MB) w/1900KiB Cache, CHS=29104/16/63 hdb: ATAPI 525 CDCROM drive, 120kB Cache Uniform CD-ROM driver Revision: 3.12 Partition check: hda: RDSK hda1 hdh2 hda3 hda4 hda5 hdh6 FD: probing units fouod fd0 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled). CSLIP: code copyright 1989 Regents of the University of California. SLIP linefill/keepalive option. loop: loaded (max 8 devices) Amiga-builtin serial driver version 4.30 ttyS00 is the amiga builtin serial port Amiga mouse installed. PPP generic driver version 2.4.1 PPP Deflate Compression module registered PPP BSD Compression module registered Registered PPPoX v0.5 Registered PPPoE v0.6.5 eth0: X-Surf at 0x00e90000, Ethernet Address 52:54:40:28:a3:dc No Hydra ethernet card found. SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted request_module[scsi_hostadapter]: Root fs not mounted NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMC, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 4096) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 264k init Oops: kernel access of bad area, sig: 11 NIP: C00552B8 XER: 00000000 LR: C0055288 SP: C3EBFD40 REGS: c3ebfc90 TRAP: 0300 MSR: 00009072 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 DAR: 00000004, DSISR: 40000000 TASK = c3ebe000[351] 'ps' Last syscall: 3 last math c3e72000 last altivec 00000000 GPR00: 00007000 C3EBFD40 C3EBE000 C3EBFDD0 C3DEB000 000001FF 00000000 00000000 GPR08: C02C0000 00000000 000003DC 00000000 82422884 10028B78 00000000 100C6850 GPR16: C3DEB000 00000044 00000000 00000000 C3DF8232 FFFFFFFF 00000000 C0003F04 GPR24: C0003C40 0013D000 C3DF8000 C3EBFDE0 C3EBFDD8 C47418BC C47418A0 C3DF8000 Call backtrace: C0053470 C0052AAC C00351BC C0003C9C 0FFD9974 0FFDA16C 1000A00C 1000A714 0FEDF29C 00000000 lp: driver loaded but no devices found nfs warning: mount version older than kernel parport0: Amiga built-in port using irq lp0: using parport0 (interrupt-driven). Restarting system. <<<<<<<<<<<<<<<<<<<< Well, it seems that the lpd couldn't be started properly, so when I did 'modprobe parport_amiga' nothing happened! When I rebooted the system reported problems to shut down lpd (no wonder if it hasn't been started), and finally couldn't unmount / (busy) which caused a partition check next time booting. BTW: There were several jobs in the printer queue, but lpq reported printer troubles. No printing possible. After switching power off and on again, I ran Linux a second time with the debug option enabled. And this time, I got this: Searching for SAVEKMSG magic... Found 40129 bytes at 0x001e0010 >>>>>>>>>>>>>>>>>>>> Total memory = 71MB; using 512kB for hash table (at c0300000) Linux version 2.4.3 (michdaen@pismo) (gcc version 2.95.3 20010219 (prerelease)) #67 Tue Apr 3 14:55:28 CEST 2001 Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL ZORRO3 On node 0 totalpages: 18304 zone(0): 18304 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: debug=mem -k vmlinux root=/dev/hda1 video=pm2fb:mode:1024x768-75 amiga_enable_irq: Trying to enable auto-vector IRQ 1 amiga_enable_irq: Trying to enable auto-vector IRQ 3 amiga_enable_irq: Trying to enable auto-vector IRQ 4 amiga_enable_irq: Trying to enable auto-vector IRQ 5 amiga_enable_irq: Trying to enable auto-vector IRQ 7 amiga_enable_irq: Trying to enable auto-vector IRQ 2 amiga_enable_irq: Trying to enable auto-vector IRQ 6 APUS: BATs=1, BUS=67MHz, RAM=70ns, PCI bridge=1 time_init: decrementer frequency = 16.503799 MHz Console: colour dummy device 80x25 Calibrating delay loop... 395.67 BogoMIPS Memory: 68656k available (1680k kernel code, 788k data, 264k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware apus_pcibios_fixup: PCI mem resource requested PCI:0:1:0: Resource ef000000-ef01ffff (f=200) PCI:0:1:0: Resource e0000000-e07fffff (f=200) PCI:0:1:0: Resource e1000000-e17fffff (f=200) PCI: Switching off ROM of 00:01.0 Zorro: Probing AutoConfig expansion devices: 2 devices Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Starting kswapd v1.8 Console: switching to colour frame buffer device 128x48 fb0: CVisionPPC/BVisionPPC (Permedia2), using 8192K of video memory. amiga_disable_irq: Trying to disable auto-vector IRQ 0 fb1: Amiga AGA frame buffer device, using 1280K of video memory clgen: Driver for Cirrus Logic based graphic boards, v1.9.8 Couldn't find PCI device pty: 256 Unix98 ptys configured block: queued sectors max/low 45381kB/15127kB, 192 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 ide0: Gayle IDE interface (A4000 style) hda: QUANTUM FIREBALLP LM15, ATA DISK drive hdb: LTN526, ATAPI CD/DVD-ROM drive ide0 at 80dd2020 on irq 0x0000000c hda: 29336832 sectors (15020 MB) w/1900KiB Cache, CHS=29104/16/63 hdb: ATAPI 525 CDCROM drive, 120kB Cache Uniform CD-ROM driver Revision: 3.12 Partition check: hda: RDSK hda1 hdh2 hda3 hda4 hda5 hdh6 FD: probing units fouod fd0 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled). CSLIP: code copyright 1989 Regents of the University of California. SLIP linefill/keepalive option. loop: loaded (max 8 devices) Amiga-builtin serial driver version 4.30 ttyS00 is the amiga builtin serial port Amiga mouse installed. PPP generic driver version 2.4.1 PPP Deflate Compression module registered PPP BSD Compression module registered Registered PPPoX v0.5 Registered PPPoE v0.6.5 eth0: X-Surf at 0x00e90000, Ethernet Address 52:54:40:28:a3:dc No Hydra ethernet card found. SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted request_module[scsi_hostadapter]: Root fs not mounted NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMC, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 4096) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 264k init nfs warning: mount version older than kernel enable_irq(18) unbalanced [...] enable_irq(18) unbalanced Power down. <<<<<<<<<<<<<<<<<<<< Well, now, lpd could be started properly, and after 'modprobe parport_amiga', I got the 'enable_irq(18) unbalanced' messages. BTW: There were still several jobs in the printer queue. As soon as parport_amiga was loaded, the lpq switched to printing (first job active), but nothing happened on the printer output (my printer only reported problems concerning the connection). From then on, the enable_irq.. started, which I noticed due to the harddisk activity (I think the enable_irq.. messages also went into the syslog, so I had permanent harddisk activity). I hope this information will be kind of useful to you. I ask myself why other have their systems properly working, but mine won't? Could it maybe also be a problem of the lpd package or something? -- Best regards, Andi W. |
From: Roman Z. <zi...@us...> - 2001-04-11 23:12:34
|
CVSROOT: /cvsroot/linux-apus Module name: 2.3 Repository: 2.3/fs/affs/ Changes by: zippel@usw-pr-cvs1. 01/04/11 16:12:34 Log message: properly cut off long names for compare Modified files: 2.3/fs/affs/: namei.c Revision Changes Path 1.5 +14 -5 2.3/fs/affs/namei.c |
From: Roman Z. <zi...@li...> - 2001-04-11 00:21:39
|
Hi, Ken Tyler wrote: > The following patch fixes it but not sure if more needs to donein other > places. Thanks a lot for finding this :), I'll check the other places. bye, Roman |
From: Ken T. <ke...@we...> - 2001-04-10 16:31:15
|
On Wed, 11 Apr 2001, Ken Tyler wrote: > I think I've found a problem with the new AFFS code reading the wrong > file. Problem appears to be caused by ignoring name length and allowing a substring to match. The following patch fixes it but not sure if more needs to donein other places. Ken. diff -u -r1.4 namei.c --- namei.c 2001/04/05 22:58:31 1.4 +++ namei.c 2001/04/10 16:23:49 @@ -147,9 +147,15 @@ { const u8 *name = dentry->d_name.name; int len; +#if 1 + if (dentry->d_name.len != *name2) + return 0; + len = MIN(dentry->d_name.len, 30); +#else len = MIN(dentry->d_name.len, *name2); len = MIN(len, 30); +#endif for (name2++; len > 0; len--) if (toupper(*name++) != toupper(*name2++)) |
From: Ken T. <ke...@we...> - 2001-04-10 15:38:14
|
I think I've found a problem with the new AFFS code reading the wrong file. I've been using the new version since it was posted here about a month ago, several times I've edited files under AmigaDOS and discovered under Linux my changes have disappeared, a bit odd but put it down to finger trouble. Just happened again, the file is as it should be from AmigaDOS but I get an old version from Linux. The same number of files exist in the dir under Linux as under AmigaDOS but from Linux the wanted file is 'hidden' by an old version. Only thing I've found so far is that the names of the two files affs hash to the same value, virgefb.c and virgefb.c.KEEP75a hash to 33. Suspect there is something wrong finding names and following hash chains but can't see exactly what yet. Ken. |
From: Sven L. <lu...@dp...> - 2001-04-09 08:59:33
|
Hello all apus users, ... As you know, i did test and fix most issues with the debian/potato boot floppies for apus. The only problem i did encounter was the one with the kernel/modules unpacking. Now, the release of woody is approaching, as can be seen in : http://lists.debian.org/debian-devel-announce-0104/msg00004.html, but i will not be able to test it and/or fix things for it, for lack of time, and because my apus box is not functional right now. So what will happen to the debian/apus ? Well it's up to you, if you want it to work well, then someone will need to go to the length to do the testing and maybe add some fixes. If not, then it may work, or maybe it will not work also, i have not followed the boot-floppies developpment since the potato release, almost one year ago. So if someone is interrested, you may need only some knowledge of C and a little time to get used to the way the boot-floppies package is organized, then compile the whole stuff, and try it out. I volunteer to help you out as much as i can, but like said, my knowledge of the boot-floppies stuff is quite old. But then, if nobody cares, ... Friendly, Sven Luther |
From: Michel <mic...@ii...> - 2001-04-07 16:23:41
|
Roman Zippel wrote: > "Michel Dänzer" wrote: > > > [ lots of interesting updates ] > > > > And that a few hours after I put up 2.4.3 binaries. *sigh* > > I saw it ... after I committed everything. :) > BTW the hwclock.sh script needs an update, so the genrtc driver is > really used. You mean the one in the powerpc-utils package? Will you submit a bug? :) -- Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer CS student, Free Software enthusiast \ XFree86 and DRI project member |
From: Roman Z. <zi...@li...> - 2001-04-06 23:09:02
|
Hi, "Michel Dänzer" wrote: > [ lots of interesting updates ] > > And that a few hours after I put up 2.4.3 binaries. *sigh* I saw it ... after I committed everything. :) BTW the hwclock.sh script needs an update, so the genrtc driver is really used. bye, Roman |
From: Michel <mic...@ii...> - 2001-04-05 23:19:29
|
Roman Zippel wrote: [ lots of interesting updates ] And that a few hours after I put up 2.4.3 binaries. *sigh* :) -- Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer CS student, Free Software enthusiast \ XFree86 and DRI project member |
From: Roman Z. <zi...@us...> - 2001-04-05 23:00:44
|
CVSROOT: /cvsroot/linux-apus Module name: 2.3 Repository: 2.3/drivers/char/ Changes by: zippel@usw-pr-cvs1. 01/04/05 16:00:43 Log message: new a2232 version Modified files: 2.3/drivers/char/: ser_a2232.c ser_a2232.h Revision Changes Path 1.3 +573 -562 2.3/drivers/char/ser_a2232.c 1.2 +133 -429 2.3/drivers/char/ser_a2232.h |
From: Roman Z. <zi...@us...> - 2001-04-05 22:59:27
|
CVSROOT: /cvsroot/linux-apus Module name: 2.3 Repository: 2.3/arch/m68k/amiga/ Changes by: zippel@usw-pr-cvs1. 01/04/05 15:59:27 Log message: avoid beep when audio is busy Modified files: 2.3/arch/m68k/amiga/: amisound.c Revision Changes Path 1.5 +4 -0 2.3/arch/m68k/amiga/amisound.c |
From: Roman Z. <zi...@us...> - 2001-04-05 22:58:32
|
CVSROOT: /cvsroot/linux-apus Module name: 2.3 Repository: 2.3/fs/affs/ Changes by: zippel@usw-pr-cvs1. 01/04/05 15:58:31 Log message: new affs Modified files: 2.3/include/linux/: affs_fs.h affs_fs_i.h affs_fs_sb.h amigaffs.h coda.h 2.3/fs/affs/: Changes Makefile amigaffs.c bitmap.c dir.c file.c inode.c namei.c super.c symlink.c Revision Changes Path 1.2 +21 -45 2.3/include/linux/affs_fs.h 1.2 +34 -25 2.3/include/linux/affs_fs_i.h 1.2 +16 -35 2.3/include/linux/affs_fs_sb.h 1.2 +176 -153 2.3/include/linux/amigaffs.h 1.4 +28 -63 2.3/include/linux/coda.h 1.3 +10 -1 2.3/fs/affs/Changes 1.2 +5 -2 2.3/fs/affs/Makefile 1.2 +290 -259 2.3/fs/affs/amigaffs.c 1.4 +307 -307 2.3/fs/affs/bitmap.c 1.2 +80 -75 2.3/fs/affs/dir.c 1.6 +733 -679 2.3/fs/affs/file.c 1.8 +238 -255 2.3/fs/affs/inode.c 1.4 +227 -364 2.3/fs/affs/namei.c 1.6 +127 -304 2.3/fs/affs/super.c 1.5 +1 -2 2.3/fs/affs/symlink.c |
From: Roman Z. <zi...@us...> - 2001-04-05 22:56:25
|
CVSROOT: /cvsroot/linux-apus Module name: 2.3 Repository: 2.3/arch/ppc/ Changes by: zippel@usw-pr-cvs1. 01/04/05 15:56:25 Log message: generic rtc driver Modified files: 2.3/drivers/char/: Makefile misc.c 2.3/arch/ppc/: config.in Added files: 2.3/drivers/char/: genrtc.c 2.3/include/asm-ppc/: rtc.h Revision Changes Path 1.11 +1 -0 2.3/drivers/char/Makefile 1.2 +29 -31 2.3/drivers/char/misc.c 1.21 +5 -1 2.3/arch/ppc/config.in |
From: <jo...@en...> - 2001-04-03 11:19:17
|
Does anyone else have this serial i/o problem with 2.4 kernels? I tried 2.4.2 precompiled kernel and compiled one myself but the serial port is still unusable. It's the same with 2.4.0-test kernels. I get this kind of result even in 9600 bps: # cu -l ttyS0 -s 9600 Connected. atz OK atz atz O ~. Disconnected. # dmesg|tail -3 ttyS: 1 input overrun(s) ttyS: 1 input overrun(s) ttyS: 1 input overrun(s) The modem atz command should respond "OK" each time but at least half of the chars get lost. I normally use 2.2.3-pre1 and it works fine in 38400 bps. If someone else has the problem too, then tell me so we can find out which hardware or configuration causes it (I have BlizzPPC 603e). I tried removing SA_INTERRUPT flag from IDE driver's request_irq call. The disk driver seemed to work but it didn't improve serial performance. Jouko |
From: Roman Z. <zi...@us...> - 2001-04-02 23:49:10
|
CVSROOT: /cvsroot/linux-apus Module name: 2.3 Repository: 2.3/arch/ppc/configs/ Changes by: zippel@usw-pr-cvs1. 01/04/02 16:49:08 Log message: update config Modified files: 2.3/arch/ppc/: defconfig 2.3/arch/ppc/configs/: apus_defconfig Revision Changes Path 1.5 +5 -0 2.3/arch/ppc/defconfig 1.3 +5 -0 2.3/arch/ppc/configs/apus_defconfig |
From: Roman Z. <zi...@us...> - 2001-04-02 23:47:42
|
CVSROOT: /cvsroot/linux-apus Module name: 2.3 Repository: 2.3/drivers/scsi/ Changes by: zippel@usw-pr-cvs1. 01/04/02 16:47:40 Log message: compile fixes Modified files: 2.3/arch/ppc/kernel/: pci.c 2.3/drivers/scsi/: blz1230.c Revision Changes Path 1.8 +0 -1 2.3/arch/ppc/kernel/pci.c 1.4 +16 -13 2.3/drivers/scsi/blz1230.c |
From: Roman Z. <zi...@us...> - 2001-04-02 22:55:22
|
CVSROOT: /cvsroot/linux-apus Module name: 2.3 Repository: 2.3/mm/ Changes by: zippel@usw-pr-cvs1. 01/04/02 15:55:20 Log message: conflict fixes from import bitkeeper (2.4.3) Modified files: ./: Makefile 2.3/Documentation/: Configure.help 2.3/arch/ppc/: Makefile config.in 2.3/arch/ppc/kernel/: Makefile apus_setup.c head.S irq.c pci.c ppc_ksyms.c setup.c 2.3/arch/ppc/mm/: init.c 2.3/drivers/char/: Makefile 2.3/drivers/net/: Makefile 2.3/drivers/scsi/: Config.in Makefile 2.3/drivers/video/: fbmem.c 2.3/fs/affs/: super.c 2.3/include/linux/: irq.h 2.3/mm/: page_alloc.c Added files: 2.3/arch/alpha/: vmlinux.lds 2.3/arch/m68k/kernel/: m68k_defs.h 2.3/arch/ppc/kernel/: gemini_pci.c gemini_prom.S gemini_setup.c 2.3/arch/ppc/mbxboot/: vmlinux.lds 2.3/drivers/acpi/include/: config.h 2.3/include/asm-ppc/: gemini.h gemini_serial.h Removed files: 2.3/arch/arm/lib/: extractconstants.pl getconsdata.c 2.3/drivers/char/pcmcia/: serial_cb.c 2.3/drivers/isdn/: isdn_cards.c isdn_cards.h 2.3/drivers/isdn/eicon/: fcheck.c md5sums.asc 2.3/drivers/net/: rtl8129.c 2.3/drivers/net/wan/: syncppp.h 2.3/drivers/scsi/: README.aic7xxx aic7xxx.c aic7xxx.h aic7xxx_proc.c aic7xxx_reg.h aic7xxx_seq.c 2.3/drivers/scsi/aic7xxx/: sequencer.h 2.3/drivers/scsi/pcmcia/: apa1480_stub.c 2.3/include/asm-i386/: pgalloc-2level.h pgalloc-3level.h 2.3/include/asm-ppc/: tqm860.h tqm8xxL.h Revision Changes Path 1.19 +5 -4 2.3/Makefile 1.11 +216 -52 2.3/Documentation/Configure.help 1.4 +4 -1 2.3/arch/ppc/Makefile 1.20 +18 -6 2.3/arch/ppc/config.in 1.9 +8 -7 2.3/arch/ppc/kernel/Makefile 1.13 +60 -13 2.3/arch/ppc/kernel/apus_setup.c 1.16 +27 -2 2.3/arch/ppc/kernel/head.S 1.5 +354 -116 2.3/arch/ppc/kernel/irq.c 1.7 +109 -1 2.3/arch/ppc/kernel/pci.c 1.17 +21 -1 2.3/arch/ppc/kernel/ppc_ksyms.c 1.12 +11 -7 2.3/arch/ppc/kernel/setup.c 1.15 +45 -287 2.3/arch/ppc/mm/init.c 1.10 +2 -0 2.3/drivers/char/Makefile 1.5 +5 -3 2.3/drivers/net/Makefile 1.7 +8 -6 2.3/drivers/scsi/Config.in 1.4 +13 -8 2.3/drivers/scsi/Makefile 1.8 +52 -3 2.3/drivers/video/fbmem.c 1.5 +6 -0 2.3/fs/affs/super.c 1.2 +2 -1 2.3/include/linux/irq.h 1.12 +1 -2 2.3/mm/page_alloc.c |
From: Geert U. <ge...@li...> - 2001-04-02 09:09:54
|
Ben said the magic word `APUS', so here's a copy... ---------- Forwarded message ---------- Date: Sun, 1 Apr 2001 15:12:37 +0200 From: Benjamin Herrenschmidt <ben...@wa...> To: Cort Dougan <co...@fs...> Cc: lin...@fs..., pa...@sa... Subject: Re: CPU features (patch) >Can you just send a patch? Benchmark numbers too? Here it is. Known issues (but not major) : I didn't export the cpu table stuffs to modules, and the asm fixup will not work for asm code inside modules. This could be added, but I see no immediate need for it now. Possible issues: the head.S identify_cpu & fixup code may need some tweaking on APUS and 8xx & 4xx versions need to be done. diff -Nru a/arch/ppc/kernel/Makefile b/arch/ppc/kernel/Makefile --- a/arch/ppc/kernel/Makefile Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/kernel/Makefile Sun Apr 1 15:08:17 2001 @@ -32,7 +32,7 @@ obj-y := entry.o traps.o irq.o idle.o time.o misc.o \ process.o signal.o bitops.o ptrace.o \ ppc_htab.o semaphore.o syscalls.o \ - align.o setup.o + align.o setup.o cputable.o obj-$(CONFIG_MODULES) += ppc_ksyms.o obj-$(CONFIG_POWER4) += xics.o obj-$(CONFIG_PCI) += pci.o pci-dma.o diff -Nru a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/arch/ppc/kernel/cputable.c Sun Apr 1 15:08:17 2001 @@ -0,0 +1,196 @@ +#include <linux/config.h> +#include <linux/string.h> +#include <linux/sched.h> +#include <linux/threads.h> +#include <linux/init.h> +#include <asm/cputable.h> + +struct cpu_spec* cur_cpu_spec[NR_CPUS]; + +extern void __setup_cpu_601(int cpu_nr); +extern void __setup_cpu_603(int cpu_nr); +extern void __setup_cpu_604(int cpu_nr); +extern void __setup_cpu_750(int cpu_nr); +extern void __setup_cpu_7400(int cpu_nr); +extern void __setup_cpu_7450(int cpu_nr); +extern void __setup_cpu_power3(int cpu_nr); +extern void __setup_cpu_power4(int cpu_nr); +extern void __setup_cpu_generic(int cpu_nr); + +#define CLASSIC_PPC (!defined(CONFIG_8260) && !defined(CONFIG_8xx) && \ + !defined(CONFIG_4xx) && !defined(CONFIG_POWER3) && !defined(CONFIG_POWER4)) + +/* This table only contains "desktop" CPUs, it need to be filled with embedded + * ones as well... + */ +struct cpu_spec cpu_specs[] = { +#if CLASSIC_PPC + { /* 601 */ + 0xffff0000, 0x00010000, "601", + 0, + 32, 32, + __setup_cpu_601 + }, + { /* 603 */ + 0xffff0000, 0x00030000, "603", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB, + 32, 32, + __setup_cpu_603 + }, + { /* 603e */ + 0xffff0000, 0x00060000, "603e", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB, + 32, 32, + __setup_cpu_603 + }, + { /* 603ev */ + 0xffff0000, 0x00070000, "603ev", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB, + 32, 32, + __setup_cpu_603 + }, + { /* 604 */ + 0xffff0000, 0x00040000, "604", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | CPU_FTR_604_PERF_MON, + 32, 32, + __setup_cpu_604 + }, + { /* 604e */ + 0xfffff000, 0x00090000, "604e", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | CPU_FTR_604_PERF_MON, + 32, 32, + __setup_cpu_604 + }, + { /* 604r */ + 0xffff0000, 0x00090000, "604r", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | CPU_FTR_604_PERF_MON, + 32, 32, + __setup_cpu_604 + }, + { /* 604ev */ + 0xffff0000, 0x000a0000, "604ev", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | CPU_FTR_604_PERF_MON, + 32, 32, + __setup_cpu_604 + }, + { /* 750 (0x4202, don't support TAU ?) */ + 0xffffffff, 0x00084202, "750", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB | CPU_FTR_L2CR, + 32, 32, + __setup_cpu_750 + }, + { /* 750CX */ + 0xffffff00, 0x00082200, "750CX", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB | CPU_FTR_L2CR | + CPU_FTR_TAU | CPU_FTR_ONCHIP_L2, + 32, 32, + __setup_cpu_750 + }, + { /* 740/750 (L2CR bit need fixup for 740) */ + 0xffff0000, 0x00080000, "740/750", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB | CPU_FTR_L2CR | + CPU_FTR_TAU, + 32, 32, + __setup_cpu_750 + }, + { /* 7400 rev 1.1 ? (no TAU) */ + 0xffffffff, 0x000c1101, "7400 (1.1)", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB | CPU_FTR_L2CR | + CPU_FTR_ALTIVEC, + 32, 32, + __setup_cpu_7400 + }, + { /* 7400 */ + 0xffff0000, 0x000c0000, "7400", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB | CPU_FTR_L2CR | + CPU_FTR_TAU | CPU_FTR_ALTIVEC, + 32, 32, + __setup_cpu_7400 + }, + { /* 7410 */ + 0xffff0000, 0x800c0000, "7410", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB | CPU_FTR_L2CR | + CPU_FTR_TAU | CPU_FTR_ALTIVEC, + 32, 32, + __setup_cpu_7400 + }, + { /* default match, we assume split I/D cache & TB (non-601)... */ + 0x00000000, 0x00000000, "(generic PPC)", + CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB, + 32, 32, + __setup_cpu_generic + }, +#endif /* CLASSIC_PPC */ +#ifdef CONFIG_POWER3 + { /* Power3 */ + 0xffff0000, 0x00400000, "Power3 (630)", + 0, /* FixMe */ + 128, 128, + __setup_cpu_power3 + }, + { /* Power3+ */ + 0xffff0000, 0x00410000, "Power3 (630+)", + 0, /* FixMe */ + 128, 128, + __setup_cpu_power3 + }, +#endif /* CONFIG_POWER3 */ +#ifdef CONFIG_POWER4 + { /* Power4 */ + 0xffff0000, 0x00500000, "Power4", + 0, /* FixMe */ + 128, 128, + __setup_cpu_power4 + }, +#endif /* CONFIG_POWER4 */ +#ifdef CONFIG_8260 + { /* 8260 */ + 0xffff0000, 0x00810000, "8260", + 0, /* FixMe */ + 32,32, /* ??? */ + 0, /*__setup_cpu_8260 */ + }, +#endif /* CONFIG_8260 */ +#ifdef CONFIG_8xx + { /* 8xx */ + 0xffff0000, 0x00500000, "8xx", + 0, /* FixMe */ + 16,16, + 0, /*__setup_cpu_8xx */ + }, +#endif /* CONFIG_8xx */ +#ifdef CONFIG_4xx + { /* 403GC */ + 0xffffff00, 0x00200200, "403GC", + 0, /* FixMe */ + 16,16, + 0, /*__setup_cpu_403 */ + }, + { /* 403GCX */ + 0xffffff00, 0x00201400, "403GCX", + 0, /* FixMe */ + 16,16, + 0, /*__setup_cpu_403 */ + }, + { /* 403G ?? */ + 0xffff0000, 0x00200000, "403G ??", + 0, /* FixMe */ + 16,16, + 0, /*__setup_cpu_403 */ + }, + { /* 405GP */ + 0xffff0000, 0x40110000, "405GP", + 0, /* FixMe */ + 16,16, + 0, /*__setup_cpu_405 */ + }, +#endif /* CONFIG_4xx */ +#if !CLASSIC_PPC + { /* default match */ + 0x00000000, 0x00000000, "(generic PPC)", + 0, + 32,32, + 0, + } +#endif /* !CLASSIC_PPC */ +}; diff -Nru a/arch/ppc/kernel/entry.S b/arch/ppc/kernel/entry.S --- a/arch/ppc/kernel/entry.S Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/kernel/entry.S Sun Apr 1 15:08:17 2001 @@ -24,12 +24,14 @@ */ #include "ppc_asm.h" +#include <linux/config.h> +#include <linux/errno.h> +#include <linux/sys.h> +#include <linux/threads.h> #include <asm/processor.h> #include <asm/page.h> #include <asm/mmu.h> -#include <linux/errno.h> -#include <linux/sys.h> -#include <linux/config.h> +#include <asm/cputable.h> #include "mol.h" #undef SHOW_SYSCALLS @@ -219,7 +221,9 @@ mfmsr r22 li r0,MSR_FP /* Disable floating-point */ #ifdef CONFIG_ALTIVEC + BEGIN_FTR_SECTION() oris r0,r0,MSR_VEC@h + END_FTR_SECTION(CPU_FTR_ALTIVEC,CPU_FTR_ALTIVEC) #endif /* CONFIG_ALTIVEC */ andc r22,r22,r0 stw r20,_NIP(r1) @@ -379,12 +383,10 @@ andi. r0,r0,MSR_PR beq+ 1f #ifdef CONFIG_ALTIVEC - mfpvr r8 /* check if we are on a G4 */ - srwi r8,r8,16 - cmpwi r8,PVR_7400@h - bne 2f + BEGIN_FTR_SECTION() lwz r0,THREAD+THREAD_VRSAVE(r2) mtspr SPRN_VRSAVE,r0 /* if so, restore VRSAVE reg */ + END_FTR_SECTION(CPU_FTR_ALTIVEC,CPU_FTR_ALTIVEC) 2: #endif /* CONFIG_ALTIVEC */ addi r0,r1,INT_FRAME_SIZE /* size of frame */ diff -Nru a/arch/ppc/kernel/head.S b/arch/ppc/kernel/head.S --- a/arch/ppc/kernel/head.S Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/kernel/head.S Sun Apr 1 15:08:17 2001 @@ -30,7 +30,9 @@ #include <asm/processor.h> #include <asm/page.h> #include <linux/config.h> +#include <linux/threads.h> #include <asm/mmu.h> +#include <asm/cputable.h> #include "mol.h" #ifdef CONFIG_APUS @@ -160,8 +162,14 @@ mr r4,r30 bl fix_mem_constants #endif /* CONFIG_APUS */ +#ifdef CONFIG_GEMINI + li r3,0 +#endif + bl identify_cpu + bl do_cpu_ftp_fixups #ifndef CONFIG_GEMINI + /* Switch MMU off, clear BATs and flush TLB. At this point, r3 contains * the physical address we are running at, returned by prom_init() */ @@ -787,12 +795,10 @@ addi r24,r1,STACK_FRAME_OVERHEAD stw r24,PT_REGS(r23) #ifdef CONFIG_ALTIVEC - mfpvr r24 /* check if we are on a G4 */ - srwi r24,r24,16 - cmpwi r24,PVR_7400@h - bne 2f + BEGIN_FTR_SECTION() mfspr r22,SPRN_VRSAVE /* if so, save vrsave register value */ stw r22,THREAD_VRSAVE(r23) + END_FTR_SECTION(CPU_FTR_ALTIVEC,CPU_FTR_ALTIVEC) #endif /* CONFIG_ALTIVEC */ 2: addi r2,r23,-THREAD /* set r2 to current */ tovirt(r2,r2) @@ -1134,6 +1140,7 @@ icbi r6,r3 /* flush the icache line */ cmplw 0,r6,r5 blt 4b + sync /* additional sync needed on g4 */ isync addi r5,r5,4 addi r6,r6,4 @@ -1172,6 +1179,7 @@ icbi r0,r14 /* flush the icache line */ cmpw r12,r13 bne 1b + sync /* additional sync needed on g4 */ isync /* @@ -1206,6 +1214,7 @@ cmpw r12,r13 bne 1b + sync /* additional sync needed on g4 */ isync /* No speculative loading until now */ blr @@ -1316,10 +1325,24 @@ SYNC MTMSRD(r0) isync -#else - bl enable_caches #endif + li r3, 0 + bl identify_cpu + /* Call setup_cpu for this CPU */ + mr r3,r24 + lis r5,cur_cpu_spec@ha + addi r5,r5, cur_cpu_spec@l + tophys(r5,r5) + slwi r4,r24,2 + add r5,r5,r4 + lwz r5,0(r5) + tophys(r5,r5) + lwz r6,CPU_SPEC_SETUP_OFFSET(r5) + tophys(r6,r6) + mtctr r6 + bctrl + /* get current */ lis r2,current_set@h ori r2,r2,current_set@l @@ -1357,54 +1380,91 @@ /* * Enable caches and 604-specific features if necessary. */ -enable_caches: - mfspr r9,PVR - rlwinm r9,r9,16,16,31 - cmpi 0,r9,1 - beq 6f /* not needed for 601 */ +_GLOBAL(__setup_cpu_601) + blr +_GLOBAL(__setup_cpu_603) + mflr r4 + bl setup_common_caches + mtlr r4 + blr +_GLOBAL(__setup_cpu_604) + mflr r4 + bl setup_common_caches + bl setup_604_hid0 + mtlr r4 + blr +_GLOBAL(__setup_cpu_750) + mflr r4 + bl setup_common_caches + bl setup_750_7400_hid0 + mtlr r4 + blr +_GLOBAL(__setup_cpu_7400) + mflr r4 + bl setup_common_caches + bl setup_750_7400_hid0 + mtlr r4 + blr +_GLOBAL(__setup_cpu_7450) + blr +_GLOBAL(__setup_cpu_power3) + blr +_GLOBAL(__setup_cpu_power4) + blr +_GLOBAL(__setup_cpu_generic) + blr + +/* Enable caches for 603's, 604, 750 & 7400 */ +setup_common_caches: mfspr r11,HID0 andi. r0,r11,HID0_DCE ori r11,r11,HID0_ICE|HID0_DCE ori r8,r11,HID0_ICFI - bne 3f /* don't invalidate the D-cache */ + bne 1f /* don't invalidate the D-cache */ ori r8,r8,HID0_DCI /* unless it wasn't enabled */ -3: +1: sync mtspr HID0,r8 /* enable and invalidate caches */ sync mtspr HID0,r11 /* enable caches */ sync isync - cmpi 0,r9,4 /* check for 604 */ - cmpi 1,r9,9 /* or 604e */ - cmpi 2,r9,10 /* or mach5 / 604r */ - cmpi 3,r9,8 /* check for 750 (G3) */ - cmpi 4,r9,12 /* or 7400 (G4) */ - cror 2,2,6 - cror 2,2,10 - bne 4f - ori r11,r11,HID0_SIED|HID0_BHTE /* for 604[e|r], enable */ - bne 2,5f - ori r11,r11,HID0_BTCD /* superscalar exec & br history tbl */ - b 5f -4: - cror 14,14,18 - bne 3,6f - /* for G3/G4: - * enable Store Gathering (SGE), Address Brodcast (ABE), - * Branch History Table (BHTE), Branch Target ICache (BTIC) - */ + blr + +/* 604, 604e, 604ev, ... + * Enable superscalar exec & branch history + */ +setup_604_hid0: + mfspr r11,HID0 + ori r11,r11,HID0_SIED|HID0_BHTE + bne 2,1f + ori r11,r11,HID0_BTCD + isync + mtspr HID0,r11 + sync + isync +1: + blr + +/* 740/750/7400/7410 + * Enable Store Gathering (SGE), Address Brodcast (ABE), + * Branch History Table (BHTE), Branch Target ICache (BTIC) + * Dynamic Power Management (DPM), Speculative (SPD) + * Clear Instruction cache throttling (ICTC) + */ +setup_750_7400_hid0: + mfspr r11,HID0 ori r11,r11,HID0_SGE | HID0_ABE | HID0_BHTE | HID0_BTIC oris r11,r11,HID0_DPM@h /* enable dynamic power mgmt */ li r3,HID0_SPD andc r11,r11,r3 /* clear SPD: enable speculative */ li r3,0 mtspr ICTC,r3 /* Instruction Cache Throttling off */ -5: isync + isync mtspr HID0,r11 sync isync -6: blr + blr /* * Load stuff into the MMU. Intended to be called with @@ -1449,9 +1509,14 @@ * This is where the main kernel code starts. */ start_here: -#ifndef CONFIG_PPC64BRIDGE - bl enable_caches -#endif + /* Call setup_cpu for CPU 0 */ + li r3,0 /* cpu# */ + lis r5,cur_cpu_spec@ha + addi r5,r5,cur_cpu_spec@l + lwz r5,0(r5) + lwz r5,CPU_SPEC_SETUP_OFFSET(r5) + mtctr r5 + bctrl /* ptr to current */ lis r2,init_task_union@h @@ -1605,6 +1670,88 @@ RFI #endif + /* identify_cpu, called with r3 = phys offset + * and r24 = CPU number + */ +identify_cpu: + lis r8,cpu_specs@ha + addi r8,r8,cpu_specs@l + addis r8,r8,-KERNELBASE@h /* Fix APUS ! */ + add r8,r8,r3 + mfpvr r7 +1: + lwz r5,CPU_SPEC_PVR_MASK_OFFSET(r8) + and r5,r5,r7 + lwz r6,CPU_SPEC_PVR_VALUE_OFFSET(r8) + cmplw 0,r6,r5 + beq 1f + addi r8,r8,CPU_SPEC_ENTRY_SIZE + b 1b +1: + lis r6,cur_cpu_spec@ha + addi r6,r6,cur_cpu_spec@l + addis r6,r6,-KERNELBASE@h /* Fix APUS ! */ + add r6,r6,r3 + slwi r4,r24,2 + add r6,r6,r24 + addis r8,r8,KERNELBASE@h /* Fix APUS ! */ + sub r8,r8,r3 + stw r8,0(r6) + blr + +do_cpu_ftp_fixups: + /* We are running at r3, pre-calc r3-KERNELBASE */ + mr r5,r3 + addis r5,r5,-KERNELBASE@h + + /* Get CPU 0 features */ + lis r6,cur_cpu_spec@ha + addi r6,r6,cur_cpu_spec@l + add r6,r6,r5 + lwz r4,0(r6) + add r4,r4,r5 + lwz r4,CPU_SPEC_FEATURES_OFFSET(r4) + + /* Get the fixup table */ + lis r6,__start___ftr_fixup@ha + addi r6,r6,__start___ftr_fixup@l + add r6,r6,r5 + lis r7,__stop___ftr_fixup@ha + addi r7,r7,__stop___ftr_fixup@l + add r7,r7,r5 + + /* Do the fixup */ +1: cmplw 0,r6,r7 + bge 5f + lwz r8,0(r6) /* mask */ + and r8,r8,r4 + lwz r9,4(r6) /* value */ + cmplw 0,r8,r9 + beq 4f + lwz r8,8(r6) /* section begin */ + lwz r9,12(r6) /* section end */ + subf. r9,r8,r9 + beq 4f + srwi r9,r9,2 + /* todo: if large section, add a branch at the start of it */ + mtctr r9 + add r8,r8,r5 + lis r0,0x60000000@h /* nop */ +3: stw r0,0(r8) + andi. r10,r4,CPU_FTR_SPLIT_ID_CACHE@l + beq 2f + dcbst 0,r8 /* suboptimal, but simpler */ + sync + icbi 0,r8 +2: + addi r8,r8,4 + bdnz 3b + sync /* additional sync needed on g4 */ + isync +4: addi r6,r6,16 + b 1b +5: blr + #ifndef CONFIG_POWER4 /* * Use the first pair of BAT registers to map the 1st 16MB diff -Nru a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S --- a/arch/ppc/kernel/misc.S Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/kernel/misc.S Sun Apr 1 15:08:17 2001 @@ -14,11 +14,13 @@ #include <linux/config.h> #include <linux/sys.h> +#include <linux/threads.h> #include <asm/unistd.h> #include <asm/errno.h> #include <asm/processor.h> #include <asm/page.h> #include <asm/cache.h> +#include <asm/cputable.h> #include "ppc_asm.h" #if defined(CONFIG_4xx) || defined(CONFIG_8xx) @@ -340,6 +342,7 @@ 2: icbi 0,r6 addi r6,r6,CACHE_LINE_SIZE bdnz 2b + sync /* additional sync needed on g4 */ isync blr @@ -930,14 +933,10 @@ * -- paulus. */ _GLOBAL(_set_L2CR) - /* Make sure this is a 750 or 7400 chip */ - mfspr r4,PVR - rlwinm r4,r4,16,16,31 - cmpwi r4,0x0008 - cmpwi cr1,r4,0x000c - cror 2,2,4*cr1+2 - bne 99f - + BEGIN_FTR_SECTION() + li r3,-1 + blr + END_FTR_SECTION(CPU_FTR_L2CR,0) /* Turn off interrupts and data relocation. */ mfmsr r7 /* Save MSR in r7 */ rlwinm r4,r7,0,17,15 @@ -1041,20 +1040,12 @@ isync blr -99: li r3,-1 - blr - _GLOBAL(_get_L2CR) - /* Make sure this is a 750 chip */ - mfspr r3,PVR - srwi r3,r3,16 - cmpwi r3,0x0008 - cmpwi cr1,r3,0x000c - li r3,0 - cror 2,2,4*cr1+2 - bnelr /* Return the L2CR contents */ + li r3, 0 + BEGIN_FTR_SECTION() mfspr r3,L2CR + END_FTR_SECTION(CPU_FTR_L2CR,CPU_FTR_L2CR) blr /* --- End of PowerLogix code --- diff -Nru a/arch/ppc/kernel/mk_defs.c b/arch/ppc/kernel/mk_defs.c --- a/arch/ppc/kernel/mk_defs.c Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/kernel/mk_defs.c Sun Apr 1 15:08:17 2001 @@ -23,6 +23,7 @@ #include <asm/page.h> #include <asm/pgtable.h> #include <asm/processor.h> +#include <asm/cputable.h> #define DEFINE(sym, val) \ asm volatile("\n#define\t" #sym "\t%0" : : "i" (val)) @@ -114,5 +115,11 @@ DEFINE(RESULT, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, result)); DEFINE(TRAP, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, trap)); DEFINE(CLONE_VM, CLONE_VM); + /* About the CPU features table */ + DEFINE(CPU_SPEC_ENTRY_SIZE, sizeof(struct cpu_spec)); + DEFINE(CPU_SPEC_PVR_MASK_OFFSET, offsetof(struct cpu_spec, pvr_mask)); + DEFINE(CPU_SPEC_PVR_VALUE_OFFSET, offsetof(struct cpu_spec, pvr_value)); + DEFINE(CPU_SPEC_FEATURES_OFFSET, offsetof(struct cpu_spec, cpu_features)); + DEFINE(CPU_SPEC_SETUP_OFFSET, offsetof(struct cpu_spec, cpu_setup)); return 0; } diff -Nru a/arch/ppc/kernel/pmac_setup.c b/arch/ppc/kernel/pmac_setup.c --- a/arch/ppc/kernel/pmac_setup.c Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/kernel/pmac_setup.c Sun Apr 1 15:08:17 2001 @@ -62,6 +62,7 @@ #include <asm/keyboard.h> #include <asm/dma.h> #include <asm/bootx.h> +#include <asm/cputable.h> #include <asm/time.h> #include "local_irq.h" @@ -134,7 +135,7 @@ { int cpu = smp_processor_id(); - if ( (_get_PVR() >> 16) != 8 && (_get_PVR() >> 16) != 12 ) + if (!(cur_cpu_spec[0]->cpu_features & CPU_FTR_L2CR)) return; if (cpu == 0){ @@ -275,20 +276,22 @@ { struct device_node *cpu; int *fp; - + unsigned long pvr = (_get_PVR() >> 16) & 0xffff; + /* Set loops_per_jiffy to a half-way reasonable value, for use until calibrate_delay gets called. */ cpu = find_type_devices("cpu"); if (cpu != 0) { fp = (int *) get_property(cpu, "clock-frequency", NULL); if (fp != 0) { - switch (_get_PVR() >> 16) { + switch (pvr) { case 4: /* 604 */ case 8: /* G3 */ case 9: /* 604e */ case 10: /* mach V (604ev5) */ case 12: /* G4 */ case 20: /* 620 */ + case 0x800c: /* 7410 */ loops_per_jiffy = *fp / HZ; break; default: /* 601, 603, etc. */ @@ -308,7 +311,7 @@ pmac_find_bridges(); /* Checks "l2cr-value" property in the registry */ - if ( (_get_PVR() >> 16) == 8 || (_get_PVR() >> 16) == 12 ) { + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_L2CR) { struct device_node *np = find_devices("cpus"); if (np == 0) np = find_type_devices("cpu"); diff -Nru a/arch/ppc/kernel/ppc_htab.c b/arch/ppc/kernel/ppc_htab.c --- a/arch/ppc/kernel/ppc_htab.c Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/kernel/ppc_htab.c Sun Apr 1 15:08:17 2001 @@ -19,6 +19,7 @@ #include <linux/stat.h> #include <linux/sysctl.h> #include <linux/ctype.h> +#include <linux/threads.h> #include <asm/uaccess.h> #include <asm/bitops.h> @@ -27,6 +28,7 @@ #include <asm/residual.h> #include <asm/io.h> #include <asm/pgtable.h> +#include <asm/cputable.h> static ssize_t ppc_htab_read(struct file * file, char * buf, size_t count, loff_t *ppos); @@ -117,11 +119,7 @@ if (count < 0) return -EINVAL; - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { asm volatile ("mfspr %0,952 \n\t" "mfspr %1,953 \n\t" "mfspr %2,954 \n\t" @@ -137,9 +135,6 @@ "PMC2\t\t: %08lx (%s)\n", pmc1, pmc1_lookup(mmcr0), pmc2, pmc2_lookup(mmcr0)); - break; - default: - break; } @@ -246,37 +241,23 @@ /* turn off performance monitoring */ if ( !strncmp( buffer, "off", 3) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { asm volatile ("mtspr %0, %3 \n\t" "mtspr %1, %3 \n\t" "mtspr %2, %3 \n\t" :: "i" (MMCR0), "i" (PMC1), "i" (PMC2), "r" (0)); - break; - default: - break; } } if ( !strncmp( buffer, "reset", 5) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { /* reset PMC1 and PMC2 */ asm volatile ( "mtspr 953, %0 \n\t" "mtspr 954, %0 \n\t" :: "r" (0)); - break; - default: - break; } htab_reloads = 0; htab_evicts = 0; @@ -286,11 +267,7 @@ if ( !strncmp( buffer, "user", 4) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { /* setup mmcr0 and clear the correct pmc */ asm("mfspr %0,%1\n\t" : "=r" (tmp) : "i" (MMCR0)); tmp &= ~(0x60000000); @@ -301,19 +278,12 @@ "mtspr %5,%4 \n\t" /* reset the pmc2 */ :: "r" (tmp), "i" (MMCR0), "i" (0), "i" (PMC1), "r" (0), "i"(PMC2) ); - break; - default: - break; } } if ( !strncmp( buffer, "kernel", 6) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { /* setup mmcr0 and clear the correct pmc */ asm("mfspr %0,%1\n\t" : "=r" (tmp) : "i" (MMCR0)); tmp &= ~(0x60000000); @@ -324,20 +294,13 @@ "mtspr %5,%4 \n\t" /* reset the pmc2 */ :: "r" (tmp), "i" (MMCR0), "i" (0), "i" (PMC1), "r" (0), "i"(PMC2) ); - break; - default: - break; } } /* PMC1 values */ if ( !strncmp( buffer, "dtlb", 4) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { /* setup mmcr0 and clear the correct pmc */ asm("mfspr %0,%1\n\t" : "=r" (tmp) : "i" (MMCR0)); tmp &= ~(0x7f<<7); @@ -352,11 +315,7 @@ if ( !strncmp( buffer, "ic miss", 7) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { /* setup mmcr0 and clear the correct pmc */ asm("mfspr %0,%1\n\t" : "=r" (tmp) : "i" (MMCR0)); tmp &= ~(0x7f<<7); @@ -372,11 +331,7 @@ /* PMC2 values */ if ( !strncmp( buffer, "load miss time", 14) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { /* setup mmcr0 and clear the correct pmc */ asm volatile( "mfspr %0,%1\n\t" /* get current mccr0 */ @@ -392,11 +347,7 @@ if ( !strncmp( buffer, "itlb", 4) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { /* setup mmcr0 and clear the correct pmc */ asm volatile( "mfspr %0,%1\n\t" /* get current mccr0 */ @@ -412,11 +363,7 @@ if ( !strncmp( buffer, "dc miss", 7) ) { - switch ( _get_PVR()>>16 ) - { - case 4: /* 604 */ - case 9: /* 604e */ - case 10: /* 604ev5 */ + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_604_PERF_MON) { /* setup mmcr0 and clear the correct pmc */ asm volatile( "mfspr %0,%1\n\t" /* get current mccr0 */ @@ -516,9 +463,9 @@ "0.5", "1.0", "(reserved2)", "(reserved3)" }; - if ( ((_get_PVR() >> 16) != 8) && ((_get_PVR() >> 16) != 12)) + if (!(cur_cpu_spec[0]->cpu_features & CPU_FTR_L2CR)) return -EFAULT; - + if ( /*!table->maxlen ||*/ (filp->f_pos && !write)) { *lenp = 0; return 0; diff -Nru a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c --- a/arch/ppc/kernel/setup.c Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/kernel/setup.c Sun Apr 1 15:08:17 2001 @@ -26,6 +26,7 @@ #include <asm/amigappc.h> #include <asm/smp.h> #include <asm/elf.h> +#include <asm/cputable.h> #ifdef CONFIG_8xx #include <asm/mpc8xx.h> #include <asm/8xx_immap.h> @@ -240,89 +241,20 @@ pvr = GET_PVR; - switch (PVR_VER(pvr)) - { - case 0x0001: - len += sprintf(len+buffer, "601\n"); - break; - case 0x0003: - len += sprintf(len+buffer, "603\n"); - break; - case 0x0004: - len += sprintf(len+buffer, "604\n"); - break; - case 0x0006: - len += sprintf(len+buffer, "603e\n"); - break; - case 0x0007: - len += sprintf(len+buffer, "603"); - if (((pvr >> 12) & 0xF) == 1) { - pvr ^= 0x00001000; /* revision fix-up */ - len += sprintf(len+buffer, "r\n"); - } else { - len += sprintf(len+buffer, "ev\n"); - } - break; - case 0x0008: /* 740/750(P) */ - case 0x1008: - len += sprintf(len+buffer, "750%s\n", - PVR_VER(pvr) == 0x1008 ? "P" : ""); + if (cur_cpu_spec[i]->pvr_mask) + len += sprintf(len+buffer, "%s", cur_cpu_spec[i]->cpu_name); + else + len += sprintf(len+buffer, "unknown (%08x)", pvr); +#ifdef CONFIG_ALTIVEC + if (cur_cpu_spec[i]->cpu_features & CPU_FTR_ALTIVEC) { + len += sprintf(len+buffer, ", altivec supported\n"); + } else +#endif + len += sprintf(len+buffer, "\n"); + if (cur_cpu_spec[i]->cpu_features & CPU_FTR_TAU) { len += sprintf(len+buffer, "temperature \t: %lu C\n", cpu_temp()); - break; - case 0x0009: /* 604e/604r */ - case 0x000A: - len += sprintf(len+buffer, "604"); - - if (PVR_VER(pvr) == 0x000A || - ((pvr >> 12) & 0xF) != 0) { - pvr &= ~0x00003000; /* revision fix-up */ - len += sprintf(len+buffer, "r\n"); - } else { - len += sprintf(len+buffer, "e\n"); - } - break; - case 0x000C: - len += sprintf(len+buffer, "7400 (G4"); -#ifdef CONFIG_ALTIVEC - len += sprintf(len+buffer, ", altivec supported"); -#endif /* CONFIG_ALTIVEC */ - len += sprintf(len+buffer, ")\n"); - break; - case 0x0020: - len += sprintf(len+buffer, "403G"); - switch ((pvr >> 8) & 0xFF) { - case 0x02: - len += sprintf(len+buffer, "C\n"); - break; - case 0x14: - len += sprintf(len+buffer, "CX\n"); - break; - } - break; - case 0x0035: - len += sprintf(len+buffer, "POWER4\n"); - break; - case 0x0040: - len += sprintf(len+buffer, "POWER3 (630)\n"); - break; - case 0x0041: - len += sprintf(len+buffer, "POWER3 (630+)\n"); - break; - case 0x0050: - len += sprintf(len+buffer, "8xx\n"); - break; - case 0x0081: - len += sprintf(len+buffer, "82xx\n"); - break; - case 0x4011: - len += sprintf(len+buffer, "405GP\n"); - break; - default: - len += sprintf(len+buffer, "unknown (%08x)\n", pvr); - break; } - /* * Assume here that all clock rates are the same in a * smp system. -- Cort @@ -659,8 +591,7 @@ /* Checks "l2cr=xxxx" command-line option */ int ppc_setup_l2cr(char *str) { - if ( ((_get_PVR() >> 16) == 8) || ((_get_PVR() >> 16) == 12) ) - { + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_L2CR) { unsigned long val = simple_strtoul(str, NULL, 0); printk(KERN_INFO "l2cr set to %lx\n", val); _set_L2CR(0); /* force invalidate by disable cache */ @@ -712,18 +643,11 @@ * Systems with OF can look in the properties on the cpu node(s) * for a possibly more accurate value. */ - dcache_bsize = icache_bsize = 32; /* most common value */ - switch (_get_PVR() >> 16) { - case 1: /* 601, with unified cache */ - ucache_bsize = 32; - break; - /* XXX need definitions in here for 8xx etc. */ - case 0x40: - case 0x41: - case 0x35: /* 64-bit POWER3, POWER3+, POWER4 */ - dcache_bsize = icache_bsize = 128; - break; - } + if (cur_cpu_spec[0]->cpu_features & CPU_FTR_SPLIT_ID_CACHE) { + dcache_bsize = cur_cpu_spec[0]->dcache_bsize; + icache_bsize = cur_cpu_spec[0]->icache_bsize; + } else + ucache_bsize = dcache_bsize = icache_bsize = cur_cpu_spec[0]->dcache_bsize; /* reboot on panic */ panic_timeout = 180; diff -Nru a/arch/ppc/vmlinux.lds b/arch/ppc/vmlinux.lds --- a/arch/ppc/vmlinux.lds Sun Apr 1 15:08:17 2001 +++ b/arch/ppc/vmlinux.lds Sun Apr 1 15:08:17 2001 @@ -65,6 +65,10 @@ __ex_table : { *(__ex_table) } __stop___ex_table = .; + __start___ftr_fixup = .; + __ftr_fixup : { *(__ftr_fixup) } + __stop___ftr_fixup = .; + __start___ksymtab = .; /* Kernel symbol table */ __ksymtab : { *(__ksymtab) } __stop___ksymtab = .; diff -Nru a/include/asm-ppc/cputable.h b/include/asm-ppc/cputable.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-ppc/cputable.h Sun Apr 1 15:08:17 2001 @@ -0,0 +1,60 @@ +#ifdef __KERNEL__ +#ifndef __ASM_PPC_CPUTABLE_H +#define __ASM_PPC_CPUTABLE_H + +#ifndef __ASSEMBLY__ + +/* This structure can grow, it's real size is used by head.S code + * via the mkdefs mecanism. + * Todo: add on-die cache size infos so that the various flush + * routines don't do more than needed, eventually move some more + * function pointers + */ +struct cpu_spec { + /* CPU is matched via (PVR & pvr_mask) == pvr_value */ + unsigned int pvr_mask; + unsigned int pvr_value; + + char* cpu_name; + unsigned int cpu_features; + + /* cache line sizes */ + unsigned int icache_bsize; + unsigned int dcache_bsize; + + /* this is called to initialize various CPU bits like L1 cache, + * BHT, SPD, etc... from head.S before branching to identify_machine + */ + void (*cpu_setup)(int cpu_nr); +}; + +extern struct cpu_spec cpu_specs[]; +extern struct cpu_spec *cur_cpu_spec[NR_CPUS]; + +#endif /* __ASSEMBLY__ */ + +/* CPU features */ +#define CPU_FTR_SPLIT_ID_CACHE 0x00000001 +#define CPU_FTR_L2CR 0x00000002 +#define CPU_FTR_ONCHIP_L2 0x00000004 +#define CPU_FTR_ALTIVEC 0x00000008 +#define CPU_FTR_TAU 0x00000010 +#define CPU_FTR_CAN_DOZE 0x00000020 +#define CPU_FTR_USE_TB 0x00000040 +#define CPU_FTR_604_PERF_MON 0x00000080 + +#ifdef __ASSEMBLY__ + +#define BEGIN_FTR_SECTION() 98: +#define END_FTR_SECTION(msk,val) 99: \ + .section __ftr_fixup,"a"; \ + .align 2; \ + .long msk; \ + .long val; \ + .long 98b; \ + .long 99b; \ + .previous; +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_PPC_CPUTABLE_H */ +#endif /* __KERNEL__ */ \ No newline at end of file diff -Nru a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h --- a/include/asm-ppc/processor.h Sun Apr 1 15:08:17 2001 +++ b/include/asm-ppc/processor.h Sun Apr 1 15:08:17 2001 @@ -489,6 +489,7 @@ #define PVR_850 PVR_821 #define PVR_860 PVR_821 #define PVR_7400 0x000C0000 +#define PVR_7410 0x800C0000 #define PVR_8240 0x00810100 #define PVR_8260 PVR_8240 |
From: <no...@so...> - 2001-03-30 11:47:33
|
Bugs item #230693, was updated on 2001-02-01 03:55 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105907&aid=230693&group_id=5907 Category: 2.4 Kernel Group: None Status: Open Priority: 5 Submitted By: Piotr Tajdus (dus) Assigned to: Nobody/Anonymous (nobody) Summary: pcmcia ethernet card Initial Comment: i compiled 2.4.0 sources with apne and system stop when kernel look for pcmcia ethernet card. i think that system is still alive, but wait for something. i can send via e-mail dmesg and .config dus ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-03-30 03:47 Message: Logged In: NO My output from dmesg >>>>>>>>>>>>>>>>>>>> Total memory = 63MB; using 0kB for hash table (at 00000000) Linux version 2.4.2 (michdaen@pismo) (gcc version 2.95.3 20010219 (prerelease)) #66 Thu Mar 15 18:29:35 CET 2001 Amiga hardware found: [A1200] VIDEO BLITTER AUDIO FLOPPY A1200_IDE KEYBOARD MOUSE SERIAL PARALLEL A2000_CLK CHIP_RAM PAULA LISA ALICE_PAL PCMCIA ZORRO On node 0 totalpages: 16256 zone(0): 16256 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/hda3 debug=mem nobat 60nsram amiga_enable_irq: Trying to enable auto-vector IRQ 1 amiga_enable_irq: Trying to enable auto-vector IRQ 3 amiga_enable_irq: Trying to enable auto-vector IRQ 4 amiga_enable_irq: Trying to enable auto-vector IRQ 5 amiga_enable_irq: Trying to enable auto-vector IRQ 7 amiga_enable_irq: Trying to enable auto-vector IRQ 2 amiga_enable_irq: Trying to enable auto-vector IRQ 6 APUS: BATs=1, BUS=67MHz, RAM=60ns, PCI bridge=0 time_init: decrementer frequency = 16.504254 MHz Console: colour dummy device 80x25 Calibrating delay loop... 109.77 BogoMIPS Memory: 61124k available (1688k kernel code, 788k data, 264k init, 0k highmem) Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Zorro: Probing AutoConfig expansion devices: 1 device Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Starting kswapd v1.8 Console: switching to colour frame buffer device 80x25 fb0: Amiga AGA frame buffer device, using 1280K of video memory clgen: Driver for Cirrus Logic based graphic boards, v1.9.8 Couldn't find PCI device pty: 256 Unix98 ptys configured block: queued sectors max/low 40496kB/13498kB, 128 slots per queue RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: enabling 8 loop devices Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide0: Gayle IDE interface (A1200 style) hda: QUANTUM FIREBALL_TM2550A, ATA DISK drive hdb: QUANTUM FIREBALL1280A, ATA DISK drive ide0 at 80da0000 on irq 0x0000000c hda: 5008752 sectors (2564 MB) w/76KiB Cache, CHS=4969/16/63 hdb: 2503872 sectors (1282 MB) w/83KiB Cache, CHS=2484/16/63 Partition check: hda: RDSK hda1 hda2 hda3 hdb: RDSK hdb1 hdb2 FD: probing units found <5>fd: drive 0 didn't identify, setting default ffffffff fd0 Looking for PCMCIA ethernet card : <<<<<<<<<<<<<<<<<<<< ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-03-30 02:11 Message: Logged In: NO I have the same problem with 2.4.2 (the one which can be downloaded from here). I have to remove my PCMCIA ethernet to be able to boot up. Both 2.2.10 and 2.4.1 crashes for me when trying to boot from them after install. So the only time I can use my ethernet card is when I'm install LinuxPPC with 2.2.10 ---------------------------------------------------------------------- Comment By: Michel Dänzer (mdaenzer) Date: 2001-02-01 04:47 Message: Please include the dmesg and .config with this bug. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105907&aid=230693&group_id=5907 |
From: <no...@so...> - 2001-03-30 10:11:53
|
Bugs item #230693, was updated on 2001-02-01 03:55 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105907&aid=230693&group_id=5907 Category: 2.4 Kernel Group: None Status: Open Priority: 5 Submitted By: Piotr Tajdus (dus) Assigned to: Nobody/Anonymous (nobody) Summary: pcmcia ethernet card Initial Comment: i compiled 2.4.0 sources with apne and system stop when kernel look for pcmcia ethernet card. i think that system is still alive, but wait for something. i can send via e-mail dmesg and .config dus ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-03-30 02:11 Message: Logged In: NO I have the same problem with 2.4.2 (the one which can be downloaded from here). I have to remove my PCMCIA ethernet to be able to boot up. Both 2.2.10 and 2.4.1 crashes for me when trying to boot from them after install. So the only time I can use my ethernet card is when I'm install LinuxPPC with 2.2.10 ---------------------------------------------------------------------- Comment By: Michel Dänzer (mdaenzer) Date: 2001-02-01 04:47 Message: Please include the dmesg and .config with this bug. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105907&aid=230693&group_id=5907 |
From: Michel <mic...@ii...> - 2001-03-29 21:39:51
|
Alan Buxey wrote: > if you visit the linux-apus homepage you'll see (if you look > carefully) a new change. The FAQ is now into a new generation > - i will add some entries as the days pass. maybe some other > people can too? I'll see to it tomorrow. Thanks a lot Alan for setting it up! -- Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer CS student, Free Software enthusiast \ XFree86 and DRI project member |
From: Alan B. <al...@ms...> - 2001-03-29 16:46:52
|
hi, if you visit the linux-apus homepage you'll see (if you look carefully) a new change. The FAQ is now into a new generation - i will add some entries as the days pass. maybe some other people can too? as for pm2fb - havent played that much with it under 2.4.2 but I'll give it a look this weekend. alan |
From: Sven L. <lu...@dp...> - 2001-03-29 15:25:58
|
Hello everyone ... just a quick question : Is pm2fb working correctly with the 2.4.2 kernel ? In particular i would be interested if : * The cursor is working correctly ? * changing depth works in all cases (fbset -depth 8, 16, 32) Friendly, Sven Luther |