Boot log for 2.4.20-pre2 (gubbio)
13 August 2002

Comments:

  • This kernel may not be safe for IDE
  • -- though it is not an -ac kernel, and it's the 2.4.20-preX-acX kernels that are known to have IDE bugs
  • I'm not running it, though it boots and appears to run fine
  • The configuration is based on 2.4.16m5, with the latest kernel
  • I've activated support for ROM fs, but it's not being used
  • The large drive is still running at 133MHz bus speed, or DMA6; see harddrives.
  • The DVD drive still installs where the old CDRW used to be -- no changes required
  • NFS is running at version 3 as before -- see knfsd below
  • ext3fs is still running journaling, slightly updated
  • the main news is the dv1394 driver, called video1394 below
  • I also enabled APIC

Installation history

On 13 August I downloaded the 2.4.19 kernel from www.kernel.org, along with the 2.4.20-pre1 and pre2 patches (from the /2.4/Testing directory on kernel.org). (See also the building of 2.4.20-pre3.)

The purpose of this new installation -- my first kernel upgrade since December's 2.4.16 -- was to have access to the new dv1394 driver. This kernel should also have the Promise PCI card driver (see harddrives). I thought it might also be able to detect UDMA automatically, but this turned out not to be the case. However, it still works fine with the boot message addtion in lilo, as done under 2.4.16m5. See this discussion -- at this point, I just went with the main kernel, ignoring the -ac one, which in any case is only up to 2.4.20-pre1-ac3

The kernel untarred into /usr/src/linux-2.4.19 and placed the still gzipped patches in the same directory. (2.4.20-pre2 has natsemi fixes and also fixes lots of typos, so I figure it's worth having.)

How to integrate the patch (from the README in the new kernel):

gzip -cd patch-2.4.20-pre1.gz | patch -p0

It turned out this was incorrect -- I need to use -p1. Before I realized that I tried running the script scripts/patch-kernel and got this:

Current kernel version is 2.4.16

Not very useful. Then I tried,

scripts/patch-kernel /usr/src/linux-2.4.19

and got this:

Current kernel version is 2.4.19

Which is better. However, it showed no sign of actually patching anything. I tried the gzip again, now with -p1, and it patched. I repeated for the second patch and got this:

gubbio:/usr/src/linux-2.4.19 # gzip -cd patch-2.4.20-pre2.gz | patch -p1
patching file CREDITS
Reversed (or previously applied) patch detected! Assume -R? [n]

So this indicates that the patches are cumulative after all, and that I don't need to apply them serially, contrary to the instructions in the README file. The -R switch, I see from the man file, would attempt to reverse the patch -- lunacy! To the question Apply anyway? [n], I respond no and get Skipping patch. I then actually reverse the application of the first patch and apply just the second, This went without problems. It seems clear that the patches are in fact cumulative, which of course makes a lot more sense, in spite of what the README file says. I guess I shouldn't be scandalized by it, but it does show that this is not ready for the uninitiated.

I also have an IDE patch -- ide-2.4.19-p7.all.convert.10.patch.bz2 from http://www.linuxdiskcert.org -- but I can't assume I can use it on the plain 2.4.19, or for that matter on the 2.4.20-pre2. It's also not clear that it's needed, as the necessary code should now be in the kernel.

All right -- I'm set with 2.4.19, patched to 2.4.20-pre2. In the patch output, there are hundreds of file changes, including bttv, natsemi, and something 1394-related. I renamed the directory /usr/src/linux-2.4.20-pre2; this is what what turned out to be the official name of the kernel once it was running.

I issued "make xconfig" and read in the existing configuration from /boot, namely kernel-2.4.16m5.config. The Promise Ultra options are indeed in place, now with automatic UDMA detection, so I shouldn't need Andre Hendrick's patch.

Note that the SAA5249 teletext processor is included in the kernel, as is SAB3036 tuner, and several Zoran cards.

I made the following changes:

  • Processor type and features:
    • Local APIC support on uniprocessors (added)
    • IO-APIC support on uniprocessors (added)
  • Multimedia devices / Video for Linux:
    • CPiA Video for Linux (the webcam -- added)
    • CPiA USB lowlevel support (added)
    • IEEE 1394
    • OHCI-DV I/O support (this is the dv1394 driver -- added)
  • File systems
    • ROM file system support (the inital RAM disk -- added)
  • Sound
    • TV card (bt848) mixer support (removed module)
  • Library routines (a new section at the end)
    • zlib compression support (added)
    • zlib decompression support (added)

When I enabled CPiA earlier, I got trouble, so I left it out, but I see there have been changes and give it another try. It would be fun to get teleconferencing working on Linux.

I got the new DV1394 driver -- even if I don't do anything with it. Under IEEE 1394, there's a Connection Management Procedures driver that I didn't select. It's got a sub-option for audio transmission.

I'm not sure I need the ROM fs, but SuSE uses it and it could be useful.

I2C support remains enabled as modules -- although I'm not using them at the moment.

I saved the new configuration to /boot/kernel-2.4.20-pre2.config and of course in the kernel directory itself and quit.

I contemplated swithing the compiler to 3.1 but didn't -- the README is still recommending 2.95.3. Afterwards, however, I get hints that perhaps the 3.1 compiler was used anyway -- the bootlog below for instance says "Linux version 2.4.20-pre2 (root@gubbio) (gcc version 3.1)".

I issued a normal make dep, which went fine. I then issued make bzImage, which will take half-an-hour or so. The make went fine -- System is 1253 kB, the largest to date.

I did make modules and saw evidence of a dozen modules, but I didn't do make modules_install for fear of messing up the current stable system. (After having tested the new kernel and finding it stable, I did install the modules too.)

I removed /boot/kernel-2.4.16m to make room for the new kernel. I also took out several old System.maps.

I ten copied usr/src/linux-2.4.19/arch/i386/boot/bzImage to /boot/kernel-2.4.20-pre2, and issued

cp System.map /boot/System.map-2.4.20-pre2

I then edited /etc/lilo.conf, adding this (copied from the lines for 2.4.16m5):

image = /boot/kernel-2.4.20-pre2
label = "2.4.20-pre2"
append = "hdb=ide-scsi hdd=ide-scsi ide2=ata66 vga=0x0317 video=vesa:ywrap"
initrd = /boot/initrd
root = /dev/hdc8

On typing lilo, I first got a Fatal: Label "Linux 2.4.20-pre2" is too long, so I removed "kernel". Make sure you check your spelling when you work in lilo!

NOTE: I mounted /dev/hdc7 on /mnt/hdc7 and made a copy of /etc/lilo.conf in /hdc7/etc. One of the entries -- the 16m5 -- boots to hdc7, as a security measure in case something goes wrong in hdc8. I tested this and it works fine.

I typed lilo and now got an OK on all entries.

I now try to boot from this kernel.

CPiA kernel panic

The first build panicked:

V4L-Driver for Vision CPiA based cameras v0.7.4
usb.c: registered new driver cpia
Unable to handle kernel NULL pointer dereference at virtual address
00000000 printing eip:
c0119e3c
* pde=00000000
Oops: 0002
EIP: 0010: [<c0119e3c>] Not tainted
EFLAGS 00010002

After this there was additional failure information (eax, ebx, ecx, edx, esi, edi, ebp, esp), ds: 0018 es: 0018 ss: 0018, Process swapper (pid: 1, stackpage=C12d7000), Stack, Call trace, Code, and finally,

<o> Kernel panic: Attempted to kill init!

I had to reboot the same machine into the same partition, which wiped out the error log (if one was written); the above was copied down.

I rebuilt the kernel without the CPiA driver and the special usb driver that goes with it, and it worked fine. I then reported this problem to the kernel mailing list.

Boot log

Source: /var/log/boot.msg and dmesg (mostly)

Inspecting /boot/System.map-2.4.20-pre2
Loaded 21064 symbols from /boot/System.map-2.4.20-pre2.
Symbols match kernel version 2.4.20.
No module symbols loaded.
klogd 1.4.1, log source = ksyslog started.
Linux version 2.4.20-pre2 (root@gubbio) (gcc version 3.1) #2 
Tue Aug 13 20:06:56 PDT 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000010000000 (usable) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 256MB LOWMEM available. Advanced speculative caching feature not present On node 0 totalpages: 65536 zone(0): 4096 pages. zone(1): 61440 pages. zone(2): 0 pages. Kernel command line: auto BOOT_IMAGE=2.4.20-pre2 ro root=1608 BOOT_FILE=/boot/kernel-2.4.20-pre2 hdb=ide-scsi hdd=ide-scsi ide2=ata66 vga=0x0317 video=vesa:ywrap ide_setup: hdb=ide-scsi ide_setup: hdd=ide-scsi ide_setup: ide2=ata66 Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Initializing CPU#0 Detected 801.828 MHz processor. Console: colour dummy device 80x25 Calibrating delay loop... 1599.07 BogoMIPS Memory: 255976k/262144k available (1946k kernel code, 5780k reserved, 609k data, 132k init, 0k highmem) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount-cache hash table entries: 4096 (order: 3, 32768 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: 0383fbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 256K CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383fbff 00000000 00000000 00000000 CPU: Common caps: 0383fbff 00000000 00000000 00000000 CPU: Intel(R) Celeron(TM) CPU 1200MHz stepping 01 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 801.8134 MHz. ..... host bus clock speed is 66.8177 MHz. cpu: 0, clocks: 668177, slice: 334088 CPU0<T0:668176,T1:334080,D:8,S:334088,C:668177> 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 Initializing RT netlink socket IA-32 Microcode Update Driver: v1.11 <tigran@veritas.com> Starting kswapd Journalled Block Device driver loaded Installing knfsd (copyright (C) 1996 okir@monad.swb.de). fb: Banshee memory = 16384K fb: MTRR's turned on tdfxfb: reserving 1024 bytes for the hwcursor at d17ff000 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 Real Time Clock Driver v1.10e 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:DMA ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA PDC20269: IDE controller on PCI bus 00 dev 68 PCI: Found IRQ 7 for device 00:0d.0 PDC20269: chipset revision 2 PDC20269: not 100%% native mode: will probe irqs later PDC20269: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER Mode. PDC20269: ATA-66/100 forced bit set (WARNING)!! ide2: BM-DMA at 0xbc00-0xbc07, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdg:pio, hdh:pio hda: Maxtor 91360D8, ATA DISK drive hdb: CD-ROM 48X/AKU, ATAPI CD/DVD-ROM drive hdc: Maxtor 51536U3, ATA DISK drive hdd: PIONEER DVD-RW DVR-104, 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 0xac00-0xac07,0xb002 on irq 7 blk: queue c03cdd04, I/O limit 4095Mb (mask 0xffffffff) hda: 26563824 sectors (13601 MB) w/256KiB Cache, CHS=1653/255/63, UDMA(33) blk: queue c03ce050, I/O limit 4095Mb (mask 0xffffffff) hdc: 30015216 sectors (15368 MB) w/2048KiB Cache, CHS=29777/16/63, UDMA(33) blk: queue c03ce39c, I/O limit 4095Mb (mask 0xffffffff) hde: 320173056 sectors (163929 MB) w/2048KiB Cache, CHS=19929/255/63, UDMA(133) Partition check: hda: hda1 hda2 < hda5 hda6 > 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> (unofficial 2.4.x kernel port, version 1.07+LK1.0.15, Jul 23, 2002
Jeff Garzik, Tjeerd Mulder) PCI: Found IRQ 10 for device 00:0f.0 eth0: NatSemi DP8381[56] at 0xd2802000, 00:a0:cc:a2:be:83, IRQ 10. Linux video capture interface: v1.00 Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 204M 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 scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: E-IDE Model: CD-ROM 48X/AKU Rev: U22 Type: CD-ROM ANSI SCSI revision: 02 Vendor: PIONEER Model: DVD-RW DVR-104 Rev: 1.20 Type: CD-ROM ANSI SCSI revision: 02 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0 sr0: scsi3-mmc drive: 0x/48x xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.12 sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray ohci1394: $Rev: 530 $ 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] video1394: Installed video1394 module raw1394: /dev/raw1394 device initialized Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996 sb: No ISAPnP cards found, trying standard ones... sb: I/O, IRQ, and DMA are mandatory Creative EMU10K1 PCI Audio Driver, version 0.19, 20:09:16 Aug 13 2002 PCI: Found IRQ 3 for device 00:0b.0 emu10k1: EMU10K1 rev 5 model 0x20 found, IO at 0xa400-0xa41f, IRQ 3 ac97_codec: AC97 codec, id: 0x5452:0x4123 (TriTech TR A5) usb.c: registered new driver usbdevfs usb.c: registered new driver hub uhci.c: USB Universal Host Controller Interface driver v1.1 PCI: Found IRQ 11 for device 00:07.2 PCI: Sharing IRQ 11 with 00:11.0 uhci.c: USB UHCI at I/O 0xa000, IRQ 11 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected usb.c: registered new driver usbscanner scanner.c: 0.4.6:USB Scanner Driver usb.c: registered new driver usblp printer.c: v0.11: USB Printer Device Class driver NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) ip_conntrack version 2.1 (2048 buckets, 16384 max) - 292 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team 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. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 132k freed ieee1394: Host added: Node[00:1023] GUID[00308d010001a64c] [Linux OHCI-1394] Adding Swap: 787144k swap-space (priority 42) EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide1(22,8), internal journal kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide1(22,5), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide2(33,1), internal journal EXT3-fs: mounted filesystem with ordered data mode. Kernel logging (ksyslog) stopped. Kernel log daemon terminating.
 

 

top
Debate
Evolution
CogSci

Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles


CogWeb