Adventures in Linux
Kernel 2.4.16p (patched with gigadrive)
29 December 2001
Summary
The new kernel on gubbio works very well, but there are some details to
tidy up.
See also the mid-December kernel build.
Action
- ACPI is confused with APCI. Find out what is what -- you should probably
just use APMD.
- "ACPI is Advanced Configuration and Power Interface"
- "APCI is Advanced Power and Configuration Interface"
- Obviously my confusion is widespread...
- APM -- Advanced Power Management support (currently APM 1.2 installed
in Windows)
- The usb situation (cf. printer)
- The Gigadrive's PCI bus speed -- can it be set to 133? Could you try
this and test it? Can you have different speeds for different drives?
That should be possible.
- Frame buffers: conflict between the video card and mtrr? MTRR (Memory
Type Range Register).
- ARM -- is that for PDAs?
- CDRW -- why isn't this working? See details.
Narrative
First apply any patches
Gigadrive -- see details.
Configuration and overview
I did "make menuconfig" once but on the second attempt I did
"make xconfig" and got a better interface.
Once you're done (details below),
make dep
to establish links to the various libraries, I guess, and then finally
make bzImage
I then copied bzImage to /boot and renamed it kernel-2.4.16p.
I then copied /usr/src/linux-2.4.16/.config to /boot and renamed it linux-2.4.16p.configure.
Then there's the map file. Here is what Suse says:
"Copy the file /usr/src/linux/System.map from /usr/src/linux to
/boot:
cp /usr/src/linux/System.map /boot
Since version numbers are supported, it is still better if you install
System.map in /boot
with the version number. How this version number must appear you can
discover with the
command uname -r in your current system. Thus, it is better to install
the new System.map
once your new kernel is running, using the command:
cp /usr/src/linux/System.map /boot/System.map-$(uname -r)"
I changed that line a bit to make it fit my directories and did it. That
may have fixed my first error message -- "cannot find map file"
(see First installation in Suse Installation).
I then entered YAST2 bootloader configuration and added the new kernel
to Lilo, taking care to copy the same parameters as the installed kernel,
with the exception of enableapic, which I just left out (though in the
29 Dec dmesg, it's included)..
I saved the new configuration to the boot floppy disk. Ready to reboot!
See the 29 Dec dmesg for the results,
and Installation master for comments and
followup. On the second try, the new kernel is working great!
Note that the neat thing about this kernel is that, since it includes
only one sound driver and one NIC, these get installed as the default
devices. In Suse's kernel, you had to select them from several modules.
In an exchange on a Suse mailing list, I found the following recipe for
installing a new Suse kernel:
cd /usr/src/linux
cp System.map /boot/System.map-2.4.16
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.16
mk_initrd -k vmlinuz-2.4.16 -i initrd-2.4.16
mcedit /etc/lilo.conf
*** add another entry , and point it to your new vmlinuz-2.4.16 andi
initrd-2.4.16
lilo
Note the procedure for making a new initrd file! Beware however -- another
user says nothing about the initrd file, and this is what I've done in
the past, to good effect:
You don't have to tell lilo anything about System.map. Just copy your
new one to /boot/System.map-2.4.16 and your kerneel to
/boot/vmlinuz-2.4.16.
Add the entry into your lilo.conf file, run lilo then reboot.
Where do you pick up the new kernel?
ACPI
Boot of Saturday 29 - Sunday 30 December 2001, after reinstallation of
soundcard, which now works fine. You should list the kernel elements systematically.
Now just some error messages:
ACPI: System description tables not found
ACPI-0068: *** Error: Acpi_load_tables: Could not get RSDP, AE_ERROR
ACPI-0116: *** Error: Acpi_load_tables: Could not load tables: AE_ERROR
ACPI: System description table load failed
See the separate file an power management at APMD.html.
PCI bus
Note that the PCI bus is set to 33, limiting the speed of the new drive:
ide: Assuming 33MHz system bus speed for PIO modes; override
with idebus=xx
Now, how do you set the 133 just for the PCI card -- and can you, with
your hardware?
MTRR
fb: Banshee memory = 16384K
fb: MTRR's turned on
The console gives this error message persistently from startup:
gubbio kernel: mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x1000000
So it could be there's a conflict between these two devices or processes.
The rest of my notes from this installation appear to be missing. Some
parts may be found in the Second Suse
installation.
::::::::::::::
dmesg_2.4.16
::::::::::::::
Linux version 2.4.16 (root@gubbio) (gcc version 2.95.3 20010315 (SuSE))
#2
Sat Dec 29 00:46:21 PST 2001
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000018000000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 98304
zone(0): 4096 pages.
zone(1): 94208 pages.
zone(2): 0 pages. Kernel command line: auto BOOT_IMAGE=Linux ro root=1607
BOOT_FILE=/boot/kernel-2.4.16p enableapic vga=0x0314 hdd=ide-scsi 2.4.16
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 451.029 MHz processor.
Console: colour dummy device 80x25 Calibrating delay loop... 897.84
BogoMIPS Memory: 384452k/393216k available (1370k kernel code, 8376k reserved,
388k data, 220k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 0183f9ff 00000000 00000000, vendor =0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K Intel machine check architecture supported. Intel
machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0183f9ff 00000000 00000000 00000000
CPU: After generic, caps: 0183f9ff 00000000 00000000 00000000
CPU: Common caps: 0183f9ff 00000000 00000000 00000000
CPU: Intel Celeron (Mendocino) stepping 00
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xfb3b0,
last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: Card 'SupraExpress 56i Sp V.90' isapnp: 1 Plug & Play card
detected total
Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society
NET3.039 IA-32 Microcode Update Driver: v1.09 <tigran@veritas.com>
Starting kswapd
Journalled Block Device driver loaded
fb: Banshee memory = 16384K
fb: MTRR's turned on tdfxfb: reserving 1024 bytes for the hwcursor at
d97ff000
Console: switching to colour frame buffer device 80x30
fb0: 3Dfx Banshee frame buffer device
pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08)
with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at port 0x03f8
(irq = 4) is a 16550A
block: 128 slots per queue, batch=32 Uniform Multi-Platform E-IDE driver
Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override
with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs
later ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio ide1:
BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA PDC20269: IDE
controller on PCI bus 00 dev 58
PCI: Found IRQ 7 for device 00:0b.0
PDC20269: chipset revision 2 PDC20269: not 100% native mode: will probe
irqs later ide2: BM-DMA at 0xe400-0xe407, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xe408-0xe40f, BIOS settings: hdg:pio, hdh:pio
hda: Maxtor 91360D8, ATA DISK drive
hdc: Maxtor 51536U3, ATA DISK drive hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM
drive
hde: Maxtor 4G160J8, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xd400-0xd407,0xd802 on irq 7 hda: 26563824 sectors (13601 MB)
w/256KiB Cache, CHS=1653/255/63, UDMA(33) hdc: 30015216 sectors (15368
MB)
w/2048KiB Cache, CHS=29777/16/63, UDMA(33) hde: 320173056 sectors (163929
MB) w/2048KiB Cache, CHS=317632/255/63, UDMA(33)
Partition check:
hda: hda1 hda2 < hda5 >
hdc: [PTBL] [1868/255/63] hdc2 < hdc5 hdc6 hdc7 hdc8 >
hde: hde1
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077 natsemi.c:v1.07 1/9/2001
Written by Donald Becker <becker@scyld.com> http://www.scyld.com/network/natsemi.html
(unofficial 2.4.x kernel port, version 1.07+LK1.0.13, Oct 19, 2001 Jeff
Garzik, Tjeerd Mulder)
PCI: Found IRQ 10 for device 00:0f.0 eth0: NatSemi DP8381[56] at 0xda802000,
00:a0:cc:a2:be:83, IRQ 10.
eth0: Transceiver status 0x7869 advertising 05e1.
Linux video capture interface: v1.00 Linux agpgart interface v0.99 (c)
Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 322M
agpgart: Detected Intel 440BX chipset agpgart: AGP aperture is 64M @
0xd0000000 [drm] Initialized tdfx 1.0.0 20010216 on minor 0
SCSI subsystem driver Revision: 1.00 ohci1394: v0.51 08/08/01 Ben Collins
<bcollins@debian.org>
PCI: Found IRQ 11 for device 00:11.0
PCI: Sharing IRQ 11 with 00:07.2 ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11]
MMIO=[db008000-db008800] Max Packet=[2048] raw1394: /dev/raw1394 device
initialized Creative EMU10K1 PCI Audio Driver, version 0.16, 00:38:45
Dec 29 2001
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub ieee1394: Local host added: node 0:1023,
GUID 00308d010001a64c usb-uhci.c: $Revision: 1.268 $ time 00:39:13 Dec
29 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:07.2
PCI: Sharing IRQ 11 with 00:11.0 usb-uhci.c: USB UHCI at I/O 0xd000, IRQ
11
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: v1.268:USB Universal Host Controller
Interface driver
usb.c: registered new driver hid hid-core.c: v1.8 Andreas Gal, Vojtech
Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
usb.c: registered new driver usbscanner
scanner.c: 0.4.6:USB Scanner Driver
usb.c: registered new driver usblp printer.c: v0.8:USB Printer Device
Class driver
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096
buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind
32768) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux IPX 0.47 for NET4.0 IPX Portions Copyright (c) 1995 Caldera,
Inc. IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc. VFS: Mounted
root (ext2 filesystem) readonly. Freeing unused kernel memory: 220k freed
hub.c: USB new device connect on bus1/1, assigned device number 2
hub.c: USB hub found
hub.c: 4 ports detected hub.c: USB new device connect on bus1/2, assigned
device number 3
hub.c: USB hub found
hub.c: 7 ports detected hub.c: USB new device connect on bus1/2/4, assigned
device number 4
usb.c: USB device 4 (vend/prod 0x553/0x2) is not claimed by any active
driver.
hub.c: USB new device connect on bus1/2/6,assigned device number 5
printer.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0
Adding Swap: 787144k swap-space (priority 42)
eth0: link is back.
Enabling watchdog.
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x1000000
|