Skip to contentSkip to conversation

Trying to run 2.6.0-test3

DISCUSSION Norman Diamond 7 participants 16 messages Aug 15, 2003 – Aug 17, 2003

lore
Share & tools
lore
#0 lore raw

Sorry I cannot keep up with the list. Any advice or questions, personal mail please. The following problems still exist in 2.6.0-test3. The first one is still a show stopper.

1. Although both yenta and i82365 are compiled in, my 16-bit NE2000 clone isn't recognized. If I boot kernel 2.4.19 I can use the network, if I boot kernel 2.6.0 I can't find any way to use the network. Partial output of various commands and files are shown below.

2. When I attach a USB hard disk drive, 2.6.0 drivers log the following:
[...] no runnable /etc/hotplug/scsi_device.agent is installed 2.4.19 didn't have this problem. 2.4.19 automatically updated /etc/fstab.

3. For 2.6.0-test1, a few people kindly explained and provided a patch to make the keyboard work with a plain text console, to get a pipe symbol when not running under X. How come 2.6.0-test3 still doesn't incorporate that patch?

4. A hotkey on the keyboard, Fn+F10, is interpreted by the BIOS to do a suspend-to-RAM. In an OS without APM support, the BIOS does it directly. In Windows 98, it does what Microsoft calls Standby but is really suspend- to-RAM. In Windows 2000, a vendor-supplied driver makes it do the same. In Linux 2.4.19, it did what Intel calls Standby, what the apm command calls "apm -S", which still drains the battery quickly. I patched 2.4.19 to make it do a suspend-to-RAM, what the apm command calls "apm -s". But in 2.6.0 the hotkey is ignored. The kapmd driver recognizes things like the battery level but never gets notified of standby requests. (No I didn't configure the kernel to ignore them.) "apm -s" still works.

5. Modules seem to work except for module symbols. This seems to be a result of compiling the new modules packages manually at a time when I could not persuade the rpm --rebuild command to target the correct cpu. Later I persuaded rpm --rebuild to work. modprobe and lsmod and rmmod work, only kernel symbols think that modules are disabled.

6. It is still necessary to omit vga=788 from the kernel command line. In kernel 2.4.19 this worked fine, but in 2.6.0 it blanks the screen.

7. The UDF driver makes some very strange observations about a CD drive and CD media at boot time when no CD device even exists. I have used a USB DVD+RW drive under 2.4.19 but have not even tried connecting it under 2.6.0 yet. (I also have a PCMCIA CD-ROM drive for which 2.6.0 finally copied necessary code from the external PCMCIA package, but haven't tried connecting it under 2.6.0 yet.)

8. As always, the OPL3/SA-whatever chip driver doesn't work. In some previous versions I could make it buzz if I tried hard enough, but never music, and usually only silence. Now it's silence. I'd better delete the driver from my .config in order to hear the PCMCIA driver's tones in case PCMCIA starts working.

(lspci)

00:0a.0 CardBus bridge: Texas Instruments PCI1250 (rev 02)

        Flags: bus master, medium devsel, latency 168, IRQ 10
        Memory at e0000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
        Memory window 0: 10400000-107ff000 (prefetchable)
        Memory window 1: 10800000-10bff000
        I/O window 0: 00001400-000014ff
        I/O window 1: 00001800-000018ff
        16-bit legacy interface ports at 0001

00:0a.1 CardBus bridge: Texas Instruments PCI1250 (rev 02)

        Flags: bus master, medium devsel, latency 168, IRQ 10
        Memory at e8000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=05, subordinate=08, sec-latency=176
        Memory window 0: 10c00000-10fff000 (prefetchable)
        Memory window 1: 11000000-113ff000
        I/O window 0: 00001c00-00001cff
        I/O window 1: 00002000-000020ff
        16-bit legacy interface ports at 0001

(cardctl status)

Socket 0:
5V 16-bit PC Card
function 0: [ready], [wp]
Socket 1:
no card

(cardctl ident)

Socket 0:
no product info available
Socket 1:
no product info available

(lsmod)
(This is after doing modprobe pcnet_cs manually;
8390 and crc32 were loaded by that, but
videodev, evdev, and ntfs were already
loaded automatically.)

Module                  Size  Used by
pcnet_cs               16644  0
8390                    8960  1 pcnet_cs
crc32                   4224  1 8390
videodev                7936  0
evdev                   8192  0
ntfs                   82708  1

(.config)

CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
CONFIG_YENTA=y
CONFIG_CARDBUS=y
# CONFIG_I82092 is not set
CONFIG_I82365=y
# CONFIG_TCIC is not set
CONFIG_PCMCIA_PROBE=y

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m
CONFIG_HOTPLUG_PCI_FAKE=m

(/var/log/messages)

Aug 14 22:07:55 diamondpana syslogd 1.4.1: restart.
Aug 14 22:07:56 diamondpana /etc/hotplug/usb.rc[472]: FATAL: Module joydev not found.
Aug 14 22:08:00 diamondpana kernel: klogd 1.4.1, log source = /proc/kmsg started.
Aug 14 22:08:00 diamondpana kernel: Inspecting /boot/System.map-2.6.0-test3
Aug 14 22:08:01 diamondpana kernel: Loaded 26800 symbols from /boot/System.map-2.6.0-test3.
Aug 14 22:08:01 diamondpana kernel: Symbols match kernel version 2.6.0.
Aug 14 22:08:01 diamondpana kernel: No module symbols loaded - kernel modules not enabled.
Aug 14 22:08:04 diamondpana SuSEfirewall2: Firewall rules successfully set in QUICKMODE for device(s) " ppp+"
Aug 14 22:08:06 diamondpana modprobe: FATAL: Module ipv6 not found.
Aug 14 22:08:06 diamondpana sshd[669]: Server listening on 0.0.0.0 port 22.
Aug 14 22:08:17 diamondpana SuSEfirewall2: Firewall rules successfully set in QUICKMODE for device(s) " ppp+"
Aug 14 22:08:19 diamondpana smpppd[835]: smpppd version 0.78 started
Aug 14 22:08:31 diamondpana /usr/sbin/cron[1065]: (CRON) STARTUP (fork ok)
Aug 14 22:08:38 diamondpana modprobe: FATAL: Module sr_mod not found.
Aug 14 22:08:47 diamondpana kernel: Linux video capture interface: v1.00
Aug 14 22:09:07 diamondpana kdm[1154]: pam_unix2: session started for user ndiamond, service xdm
Aug 14 22:10:00 diamondpana /USR/SBIN/CRON[1260]: (root) CMD ( /usr/lib/sa/sa1      )
Aug 14 22:10:52 diamondpana su: (to root) ndiamond on /dev/pts/1
Aug 14 22:10:52 diamondpana su: pam_unix2: session started for user root, service su
Aug 14 22:20:00 diamondpana /USR/SBIN/CRON[1493]: (root) CMD ( /usr/lib/sa/sa1      )
Aug 14 22:21:37 diamondpana kernel: cs: warning: no high memory space available!
Aug 14 22:21:37 diamondpana kernel: cs: unable to map card memory!
Aug 14 22:21:37 diamondpana last message repeated 3 times
Aug 14 22:22:49 diamondpana last message repeated 7 times
Aug 14 22:23:35 diamondpana last message repeated 3 times
Aug 14 22:24:40 diamondpana last message repeated 3 times
Aug 14 22:29:07 diamondpana kernel: cs: unable to map card memory!

(dmesg)

Linux version 2.6.0-test3 (ndiamond@diamondpana) (gcc version 3.2) #1 Thu Aug 14 21:00:20 JST 2003 Video mode to be used for restore is f00
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000005ff0000 (usable)
BIOS-e820: 0000000005ff0000 - 0000000006000000 (ACPI data)
BIOS-e820: 0000000010000000 - 0000000010100000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
95MB LOWMEM available.
On node 0 totalpages: 24560
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 20464 pages, LIFO batch:4
HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: acpi=off apm=on root=/dev/hda8
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 512 (order 9: 4096 bytes)
Detected 198.983 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 392.19 BogoMIPS
Memory: 92704k/98240k available (2549k kernel code, 5036k reserved, 1130k data, 172k init, 0k highmem) Security Scaffold v1.0.0 initialized
Capability LSM initialized
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root

CPU:     After generic identify, caps: 008001bf 00000000 00000000 00000000
CPU:     After vendor identify, caps: 008001bf 00000000 00000000 00000000

Intel Pentium with F0 0F bug - workaround enabled.
CPU: After all inits, caps: 008001bf 00000000 00000000 00000000
CPU: Intel Mobile Pentium MMX stepping 01 Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfd74c, last bus=0
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
BIO: pool of 256 setup, 15Kb (60 bytes/bio)
biovec pool[0]: 1 bvecs: 180 entries (12 bytes)
biovec pool[1]: 4 bvecs: 180 entries (48 bytes)
biovec pool[2]: 16 bvecs: 180 entries (192 bytes)

biovec pool[3]:  64 bvecs:  90 entries (768 bytes)
biovec pool[4]: 128 bvecs:  45 entries (1536 bytes)
biovec pool[5]: 256 bvecs:  22 entries (3072 bytes)

Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fdf90
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x58ed, dseg 0xf0000
PnPBIOS: 23 nodes reported by PnP BIOS; 23 recorded by driver
SCSI subsystem initialized
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
drivers/usb/core/usb.c: registered new driver usbfs drivers/usb/core/usb.c: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX [8086/7110] at 0000:00:01.0
PCI: IRQ 0 for device 0000:00:01.2 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 10 for device 0000:00:02.0
neofb: mapped io at c6800000
Autodetected internal display
Panel is a 800x600 color TFT display
neofb: mapped framebuffer at c6a01000
neofb v0.4.1: 2048kB VRAM, using 800x600, 37.878kHz, 60Hz
fb0: MagicGraph 128XD frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb1: VGA16 VGA frame buffer device
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
Journalled Block Device driver loaded
devfs: v1.22 (20021013) Richard Gooch ([email protected])
devfs: boot_options: 0x0
Installing knfsd (copyright (C) 1996 [email protected]).
udf: registering filesystem
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
request_module: failed /sbin/modprobe -- parport_lowlevel. error = -16
lp: driver loaded but no devices found
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
lp0: using parport0 (polling).
Using anticipatory scheduling elevator
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:01.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio

hda: TOSHIBA MK4018GAP, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(33)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 >
PCI: IRQ 0 for device 0000:00:0a.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Assigned IRQ 10 for device 0000:00:0a.0
Yenta: CardBus bridge found at 0000:00:0a.0 [0000:0000]
Yenta IRQ list 0ab8, PCI irq10
Socket status: 30000010
PCI: IRQ 0 for device 0000:00:0a.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Assigned IRQ 10 for device 0000:00:0a.1
Yenta: CardBus bridge found at 0000:00:0a.1 [0000:0000]
Yenta IRQ list 0ab8, PCI irq10
Socket status: 30000006
Intel PCIC probe: not found.
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
PCI: Enabling device 0000:00:01.2 (0000 -> 0001)
PCI: IRQ 0 for device 0000:00:01.2 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Assigned IRQ 10 for device 0000:00:01.2
uhci-hcd 0000:00:01.2: UHCI Host Controller
uhci-hcd 0000:00:01.2: irq 10, io base 00001000
uhci-hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: PS/2 Logitech Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
BIOS EDD facility v0.09 2003-Jan-22, 1 devices found
UDF-fs DEBUG fs/udf/lowlevel.c:65:udf_get_last_session: CDROMMULTISESSION not supported: rc=-22
UDF-fs DEBUG fs/udf/super.c:1472:udf_fill_super: Multi-session=0
UDF-fs DEBUG fs/udf/super.c:460:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG fs/udf/super.c:1208:udf_check_valid: Failed to read byte 32768. Assuming open disc. Skipping validity check UDF-fs DEBUG fs/udf/misc.c:286:udf_read_tagged: location mismatch block 256, tag 1413234186 != 256
UDF-fs DEBUG fs/udf/super.c:1262:udf_load_partition: No Anchor block found
UDF-fs: No partition found (1)
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda8, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda8) for (hda8)
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 172k freed
Adding 1092380k swap on /dev/hda7. Priority:42 extents:1
NTFS driver 2.1.4 [Flags: R/O MODULE].
NTFS volume version 3.1.
Linux video capture interface: v1.00

#1 lore raw
Quoted 4 lines · Norman Diamond

1. Although both yenta and i82365 are compiled in, my 16-bit NE2000 clone isn't recognized. If I boot kernel 2.4.19 I can use the network, if I boot kernel 2.6.0 I can't find any way to use the network. Partial output of various commands and files are shown below.

What brand/model? What chipset does the card use? Are your sure it's PCMCIA (16-bit) and not CardBus (32-bit)?

Quoted 4 lines

3. For 2.6.0-test1, a few people kindly explained and provided a patch to make the keyboard work with a plain text console, to get a pipe symbol when not running under X. How come 2.6.0-test3 still doesn't incorporate that patch?

Uh? A patch to make the pipe (|) symbol work?

Quoted 5 lines

5. Modules seem to work except for module symbols. This seems to be a result of compiling the new modules packages manually at a time when I could not persuade the rpm --rebuild command to target the correct cpu. Later I persuaded rpm --rebuild to work. modprobe and lsmod and rmmod work, only kernel symbols think that modules are disabled.

Have you upgraded to latest modutils package? Modules are implemented quite differently in 2.6.

Quoted 5 lines

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m
CONFIG_HOTPLUG_PCI_FAKE=m

You don't need that.

Quoted 11 lines

(/var/log/messages)

Aug 14 22:21:37 diamondpana kernel: cs: warning: no high memory space available!
Aug 14 22:21:37 diamondpana kernel: cs: unable to map card memory!
Aug 14 22:21:37 diamondpana last message repeated 3 times
Aug 14 22:22:49 diamondpana last message repeated 7 times
Aug 14 22:23:35 diamondpana last message repeated 3 times
Aug 14 22:24:40 diamondpana last message repeated 3 times
Aug 14 22:29:07 diamondpana kernel: cs: unable to map card memory!

It seems the kernel is having problems assigning resources to your card. Plase, edit "/etc/pcmcia/config.opts" and uncomment the following line:

#include port 0x1000-0x17ff

Quoted 5 lines

(dmesg)

Kernel command line: acpi=off apm=on root=/dev/hda8

I suggest you to recompile your kernel with ACPI support to see if it works correctly. Else, recompile it disabling ACPI support and enabling APM support.

Quoted 1 line

No local APIC present or hardware disabled

You can remove APIC support from your config. It's not supported by your hardware.

Quoted 3 lines

PCI: IRQ 0 for device 0000:00:01.2 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.1 doesn't match PIRQ mask - try pci=usepirqmask

Please, add "pci=usepirqmask" to your kernel command line in GRUB/Lilo.

#2 lore raw

"Felipe Alfaro Solana" <[email protected]> replied to me:

Quoted 7 lines
Quoted 4 lines

1. Although both yenta and i82365 are compiled in, my 16-bit NE2000 clone isn't recognized. If I boot kernel 2.4.19 I can use the network, if I boot kernel 2.6.0 I can't find any way to use the network. Partial output of various commands and files are shown below.

What brand/model? What chipset does the card use? Are your sure it's PCMCIA (16-bit) and not CardBus (32-bit)?

I think it's Greenhouse ELP-10T. But I think it doesn't matter. Under 2.6.0-test3, "cardctl ident" couldn't even read the card's ID. If it's really necessary I can boot 2.4.19 to run "cardctl ident". I don't know the chipset but I think it doesn't matter. As for knowing that it's 16-bit and not 32-bit, even though I know you're even more of a volunteer than I am, it's hard to keep civil about this. Yes I know that it's 16-bit. But even if it magically changed to 32-bit, then the yenta driver should take over, right? But neither PCMCIA driver recognized the thing under 2.6.0-test3. Oh, you might notice that "cardctl status" figured out that the thing takes 5 volts. This is why I posted the outputs of "cardctl ident" and "cardctl status" and the relevant part of .config.

Quoted 6 lines
Quoted 4 lines

3. For 2.6.0-test1, a few people kindly explained and provided a patch to make the keyboard work with a plain text console, to get a pipe symbol when not running under X. How come 2.6.0-test3 still doesn't incorporate that patch?

Uh? A patch to make the pipe (|) symbol work?

Yes. Read the archives about Japanese keyboards. A patch was even POSTED, in the -test1 days. How come the patch didn't get into -test3?

Quoted 8 lines
Quoted 5 lines

5. Modules seem to work except for module symbols. This seems to be a result of compiling the new modules packages manually at a time when I could not persuade the rpm --rebuild command to target the correct cpu. Later I persuaded rpm --rebuild to work. modprobe and lsmod and rmmod work, only kernel symbols think that modules are disabled.

Have you upgraded to latest modutils package? Modules are implemented quite differently in 2.6.

"seems to be a result of compiling the new modules packages manually at a time when I could not persuade the rpm --rebuild command to target the correct cpu." Yes, "the new modules packages" meant the new modules packages. I did have to ask about this at the beginning of -test1 days. (I never had time to try testing a 2.5 kernel but the appearance of 2.6.0-test1 made it look like testing would become valuable.)

Quoted 7 lines
Quoted 5 lines

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m
CONFIG_HOTPLUG_PCI_FAKE=m

You don't need that.

I didn't think I needed it, but I didn't think it would hurt. After all I was trying to get some PCMCIA cards to work, and someday might try getting a Cardbus card to work, and PCMCIA wasn't working yet, so I tried it.

Quoted 10 lines
Quoted 9 lines

(/var/log/messages)

Aug 14 22:21:37 diamondpana kernel: cs: warning: no high memory space available!
Aug 14 22:21:37 diamondpana kernel: cs: unable to map card memory!
Aug 14 22:21:37 diamondpana last message repeated 3 times
Aug 14 22:22:49 diamondpana last message repeated 7 times
Aug 14 22:23:35 diamondpana last message repeated 3 times
Aug 14 22:24:40 diamondpana last message repeated 3 times
Aug 14 22:29:07 diamondpana kernel: cs: unable to map card memory!
Quoted 4 lines

It seems the kernel is having problems assigning resources to your card. Plase, edit "/etc/pcmcia/config.opts" and uncomment the following line:

#include port 0x1000-0x17ff

This I will take a look at. Thank you. Though it makes me curious why 2.4.19 didn't need this, I will try it. And I think I will have no problem remaining civil while discussing it. Thank you.

Quoted 5 lines
Quoted 1 line

Kernel command line: acpi=off apm=on root=/dev/hda8

I suggest you to recompile your kernel with ACPI support to see if it works correctly. Else, recompile it disabling ACPI support and enabling APM support.

Guess why I compiled it without ACPI support and with APM support. Guess why my kernel command line has acpi=off apm=on. (Although the command line options are redundant with the self-compiled kernel configuration, they are necessary when booting a generic kernel. Yes I know that the machine has just enough ACPI hooks to cause problems when anyone other than Windows 98 tries to use ACPI. It's not even recommended to force ACPI on when installing Windows 98 on this machine. Windows 2000 blue screens if ACPI is forced on. Linux doesn't panic when its default ACPI takes over, but it does prevent APM from working.)

Quoted 4 lines
Quoted 1 line

No local APIC present or hardware disabled

You can remove APIC support from your config. It's not supported by your hardware.

Fine, but I didn't think I had to worry about that, since it looked like Linux already properly detected the fact.

Quoted 5 lines
Quoted 3 lines

PCI: IRQ 0 for device 0000:00:01.2 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.1 doesn't match PIRQ mask - try pci=usepirqmask

Please, add "pci=usepirqmask" to your kernel command line in GRUB/Lilo.

Oh, that could be it, I just noticed that the second and third occurences relate to the PCMCIA slots. May I ask though, what PIRQ mask is it, that is failing to be matched? It seems to me that it might be more useful for 2.6.0 to do as good a job as 2.4.19 did in figuring out the IRQs, and I would like to continue testing this. (Probably I can only spend about one day a week on it though.)

#3 lore raw
Quoted 9 lines · Norman Diamond
Quoted 2 lines

Have you upgraded to latest modutils package? Modules are implemented quite differently in 2.6.

"seems to be a result of compiling the new modules packages manually at a time when I could not persuade the rpm --rebuild command to target the correct cpu." Yes, "the new modules packages" meant the new modules packages. I did have to ask about this at the beginning of -test1 days. (I never had time to try testing a 2.5 kernel but the appearance of 2.6.0-test1 made it look like testing would become valuable.)

I can't understand why manually compiling modules (make modules) could cause you problems that "rpm --rebuild" couldn't.

Quoted 6 lines
Quoted 5 lines
Quoted 1 line

Kernel command line: acpi=off apm=on root=/dev/hda8

I suggest you to recompile your kernel with ACPI support to see if it works correctly. Else, recompile it disabling ACPI support and enabling APM support.

Quoted 9 lines

Guess why I compiled it without ACPI support and with APM support. Guess why my kernel command line has acpi=off apm=on. (Although the command line options are redundant with the self-compiled kernel configuration, they are necessary when booting a generic kernel. Yes I know that the machine has just enough ACPI hooks to cause problems when anyone other than Windows 98 tries to use ACPI. It's not even recommended to force ACPI on when installing Windows 98 on this machine. Windows 2000 blue screens if ACPI is forced on. Linux doesn't panic when its default ACPI takes over, but it does prevent APM from working.)

If you turn ACPI on, you won't need APM support. Well, ACPI has still some broken functionality, like S3 states, but usually, you can do pretty well with ACPI. There was a long time ago since I used APM for the very last time.

Quoted 7 lines

Fine, but I didn't think I had to worry about that, since it looked like Linux already properly detected the fact.

Quoted 4 lines
Quoted 3 lines

PCI: IRQ 0 for device 0000:00:01.2 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.1 doesn't match PIRQ mask - try pci=usepirqmask

Quoted 8 lines
Quoted 1 line

Please, add "pci=usepirqmask" to your kernel command line in GRUB/Lilo.

Oh, that could be it, I just noticed that the second and third occurences relate to the PCMCIA slots. May I ask though, what PIRQ mask is it, that is failing to be matched? It seems to me that it might be more useful for 2.6.0 to do as good a job as 2.4.19 did in figuring out the IRQs, and I would like to continue testing this. (Probably I can only spend about one day a week on it though.)

To be sincere, I don't know exactly why "pci=usepirqmask" needs to be used. I'm no hardware expert. But I know that I needed it when I wasn't using ACPI.

Probably, if you disable APM support and enable ACPI, you won't need to boot using "pci=usepirqmask".

#4 lore raw

"Felipe Alfaro Solana" <[email protected]> replied to me:

Quoted 9 lines
Quoted 6 lines

"seems to be a result of compiling the new modules packages manually at a time when I could not persuade the rpm --rebuild command to target the correct cpu." Yes, "the new modules packages" meant the new modules packages. I did have to ask about this at the beginning of -test1 days. (I never had time to try testing a 2.5 kernel but the appearance of 2.6.0-test1 made it look like testing would become valuable.)

I can't understand why manually compiling modules (make modules) could cause you problems that "rpm --rebuild" couldn't.

Manually compiling the two items that are contained in the rpm (modutils and module-init-tools) did indeed give different problems from "rpm --rebuild". I reported them around two weeks ago or so. "make modules" has nothing to do with this.

Quoted 16 lines
Quoted 6 lines
Quoted 5 lines
Quoted 1 line

Kernel command line: acpi=off apm=on root=/dev/hda8

I suggest you to recompile your kernel with ACPI support to see if it works correctly. Else, recompile it disabling ACPI support and enabling APM support.

Quoted 9 lines

Guess why I compiled it without ACPI support and with APM support. Guess why my kernel command line has acpi=off apm=on. (Although the command line options are redundant with the self-compiled kernel configuration, they are necessary when booting a generic kernel. Yes I know that the machine has just enough ACPI hooks to cause problems when anyone other than Windows 98 tries to use ACPI. It's not even recommended to force ACPI on when installing Windows 98 on this machine. Windows 2000 blue screens if ACPI is forced on. Linux doesn't panic when its default ACPI takes over, but it does prevent APM from working.)

Quoted 1 line

If you turn ACPI on, you won't need APM support.

WRONG. ACPI DOESN'T WORK ON THE MACHINE I'M DOING THIS ON. DID YOU TRY READING WHAT YOU QUOTED THERE? Yes I know you volunteer more effort on Linux than I do, but you're asking me to flame you anyway. How many times do you need to be told?

Quoted 1 line

Well, ACPI has still some broken functionality, like S3 states,

S3 has nothing to do with it. Whether and how much ACPI functionality the vendor put in the BIOS has everything to do with it. If you read what you quoted from me, you might reach the same opinion I have, that it would have been better for the vendor to include no ACPI functionality at all instead of some experiments at partial ACPI support. But even if you don't agree, ACPI still doesn't work on that machine.

Quoted 3 lines

To be sincere, I don't know exactly why "pci=usepirqmask" needs to be used. I'm no hardware expert. But I know that I needed it when I wasn't using ACPI.

Hmm. Then some dependency seems to be broken in kernel compilation. When ACPI is not compiled in, it should know that the effect of "pci=usepirqmask" should be compiled in (whatever that effect is).

Quoted 2 lines

Probably, if you disable APM support and enable ACPI, you won't need to boot using "pci=usepirqmask".

Could be, but then I'll have no power management at all because ACPI doesn't work but APM will disable itself when APM thinks that ACPI looks like it's running. How many times do you need to be told, guess why I did "acpi=off apm=on".

#5 lore raw
Quoted 10 lines · Norman Diamond
Quoted 10 lines
Quoted 9 lines

Guess why I compiled it without ACPI support and with APM support. Guess why my kernel command line has acpi=off apm=on. (Although the command line options are redundant with the self-compiled kernel configuration, they are necessary when booting a generic kernel. Yes I know that the machine has just enough ACPI hooks to cause problems when anyone other than Windows 98 tries to use ACPI. It's not even recommended to force ACPI on when installing Windows 98 on this machine. Windows 2000 blue screens if ACPI is forced on. Linux doesn't panic when its default ACPI takes over, but it does prevent APM from working.)

Quoted 6 lines
Quoted 1 line

If you turn ACPI on, you won't need APM support.

WRONG. ACPI DOESN'T WORK ON THE MACHINE I'M DOING THIS ON. DID YOU TRY READING WHAT YOU QUOTED THERE? Yes I know you volunteer more effort on Linux than I do, but you're asking me to flame you anyway. How many times do you need to be told?

Yes, I tried reading. You said Linux doesn't panic while using ACPI, so I supposed ACPI just worked but the problem was you wanted APM support.

Quoted 7 lines
Quoted 3 lines

To be sincere, I don't know exactly why "pci=usepirqmask" needs to be used. I'm no hardware expert. But I know that I needed it when I wasn't using ACPI.

Hmm. Then some dependency seems to be broken in kernel compilation. When ACPI is not compiled in, it should know that the effect of "pci=usepirqmask" should be compiled in (whatever that effect is).

It's not a problem with dependencies. On ACPI-enabled kernels, you using ACPI routing. If you boot using "acpi=off", then you're using standard PCI routing and that, in turn, on same machines, it warns you to use "pci=usepirqmask". Don't know why, on some machines using standard PCI routing, you don't need to boot with "pci=usepirqmask". I suppose it will be some kind of hardware incompatibility or a bad implementation.

#6 lore raw

"Felipe Alfaro Solana" <[email protected]> replied to me:

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Guess why I compiled it without ACPI support and with APM support. [...]. Linux doesn't panic when its default ACPI takes over, but it does prevent APM from working.)

If you turn ACPI on, you won't need APM support.

WRONG. ACPI DOESN'T WORK ON THE MACHINE I'M DOING THIS ON. DID YOU TRY READING WHAT YOU QUOTED THERE?

[though I deleted it this time]

Quoted 3 lines

Yes, I tried reading. You said Linux doesn't panic while using ACPI, so I supposed ACPI just worked but the problem was you wanted APM support.

Since Linux doesn't panic, ACPI turns into a no-op. Yes that's better than Windows 2000 blue screening, but no it's not as good as APM support.

The present status of APM support is that the command "apm -s" still suspends the laptop but the hotkey Fn+F10 gets ignored. In kernel 2.4.19 the hotkey was interpreted as a more power-hungry variation of standby (same as "apm -S") so I hacked 2.4.19 to make it do suspend, but in kernel 2.6.0-test3 the hotkey doesn't even reach the apm driver. But this is a separate issue from the one that caused you to think I should turn on ACPI's failures.

Quoted 10 lines
Quoted 7 lines
Quoted 3 lines

To be sincere, I don't know exactly why "pci=usepirqmask" needs to be used. I'm no hardware expert. But I know that I needed it when I wasn't using ACPI.

Hmm. Then some dependency seems to be broken in kernel compilation. When ACPI is not compiled in, it should know that the effect of "pci=usepirqmask" should be compiled in (whatever that effect is).

It's not a problem with dependencies. On ACPI-enabled kernels, you using ACPI routing.

Then it *is* a problem with dependencies. In kernel 2.6.0-test1 through test3, I set all configuration options myself, instead of inheriting anything from SuSE's 2.4.19 defaults. I compiled 2.6.0 without ACPI. Since this is not an ACPI-enabled kernel, no one should be expecting me to use ACPI routing.

Quoted 3 lines

If you boot using "acpi=off", then you're using standard PCI routing and that, in turn, on same machines, it warns you to use "pci=usepirqmask".

But this combination of facts remains very curious:
In 2.4.19, where the kernel is still ACPI-enabled, where it is absolutely
necessary for me to use "acpi=off apm=on", it doesn't warn to use "pci=usepirqmask".
In 2.6.0-test3, where the kernel is not ACPI-enabled (because I
config'ed it not to be), where it is redundant for me to use "acpi=off apm=on", it is warning me to use "pci=usepirqmask".

This combination of facts is exactly the opposite of what you think it should be. I'd say it looks like a bug in a dependency condition.

#7 lore raw
In reply to Norman Diamond
Quoted 4 lines · Norman Diamond

1. Although both yenta and i82365 are compiled in, my 16-bit NE2000 clone isn't recognized. If I boot kernel 2.4.19 I can use the network, if I boot kernel 2.6.0 I can't find any way to use the network. Partial output of various commands and files are shown below.

As a general rule, you should be using yenta not i82365. There have been some historical problems when you build both into the kernel, so you might like to try disabling i82365.

I don't see any sign of cardmgr starting up in your message logs, and cardmgr is still required to tell the kernel which resources it can use, and to bind the driver to the device.

Start cardmgr and it should work.

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html
#8 lore raw

"Russell King" <[email protected]> replied to me:

Quoted 8 lines
Quoted 4 lines

1. Although both yenta and i82365 are compiled in, my 16-bit NE2000 clone isn't recognized. If I boot kernel 2.4.19 I can use the network, if I boot kernel 2.6.0 I can't find any way to use the network. Partial output of various commands and files are shown below.

As a general rule, you should be using yenta not i82365. There have been some historical problems when you build both into the kernel, so you might like to try disabling i82365.

I will do that in my next build. For some reason I wasn't sure if yenta would handle 16-bit cards. But this turns out not to be necessary. Also the PCMCIA suggestions which Felipe Alfaro Solana suggested (the suggestions which I intended to try) turned out not to be necessary. The winner is the next one:

Quoted 1 line

I don't see any sign of cardmgr starting up in your message logs,

You're right. I started it from the command line. It didn't recognize the existing card, but "cardctl eject 0" followed by "cardctl insert 0" taught it.

Now the question is why cardmgr doesn't start automatically in 2.6.0-test3. In 2.4.19, PCMCIA support was a module, for which I guess I never bothered to change SuSE's default. In 2.6.0-test1 since had to set all options myself, I compiled in PCMCIA support, and it's still that way in test3. I'll try to see if I can find the reason, though of course you might be able to guess it instantaneously.

Thank you.

#9 lore raw
Quoted 1 line · Norman Diamond

Now the question is why cardmgr doesn't start automatically in 2.6.0-test3.

You probably need fixes to /etc/rc.d/init.d/pcmcia (drop module ".o" extensions from modprobe commands) and /etc/hotplug/net.agent (case $ACTION needs "add|register" not just "register").

/Mikael

#10 lore raw

"Mikael Pettersson" <[email protected]> replied to me:

Quoted 5 lines
Quoted 1 line

[...] cardmgr doesn't start automatically in 2.6.0-test3.

You probably need fixes to /etc/rc.d/init.d/pcmcia (drop module ".o" extensions from modprobe commands) and /etc/hotplug/net.agent (case $ACTION needs "add|register" not just "register").

Very close. /etc/rc.d/pcmcia is a SuSE script which "knows" that some things weren't compiled into the kernel, it "knows" that the things were modules. I didn't want to spend a few hours learning enough bash programming to make the thing deal with all the possibilities of 2.4 and 2.6. Instead, I changed the .config to compile PCMCIA stuff as modules (and also some network stuff and serial stuff that are giving problems), and munged some ".o" to ".ko" extensions. Fortunately it isn't completely necessary to delete the ".ko" extension.

/etc/hotplug/net.agent was editable exactly as you said.

When I have time I'll hunt for the SuSE scripts hotplug scripts for serial stuff that is still giving problems.

#11 lore raw
In reply to Norman Diamond
Quoted 5 lines · Norman Diamond

I will do that in my next build. For some reason I wasn't sure if yenta would handle 16-bit cards. But this turns out not to be necessary. Also the PCMCIA suggestions which Felipe Alfaro Solana suggested (the suggestions which I intended to try) turned out not to be necessary. The winner is the next one:

Note that if you don't already have CONFIG_ISA enabled, 16-bit CardBus devices will refuse to work.

Signature · 1 line
Joshua Kwan
#12 lore raw

On Fri, 15 Aug 2003 09:43:00 -0700 Joshua Kwan <[email protected]> wrote:

| On Fri, Aug 15, 2003 at 09:39:07PM +0900, Norman Diamond wrote:
| > I will do that in my next build.  For some reason I wasn't sure if yenta
| > would handle 16-bit cards.  But this turns out not to be necessary.  Also
| > the PCMCIA suggestions which Felipe Alfaro Solana suggested (the suggestions
| > which I intended to try) turned out not to be necessary.  The winner is the
| > next one:
| 
| Note that if you don't already have CONFIG_ISA enabled, 16-bit CardBus
| devices will refuse to work.

16-bit PCMCIA is ISA-like, 32-bit CardBus is basically PCI. I've never heard of 16-bit CardBus. Are there some?

--
~Randy

#13 lore raw
Quoted 2 lines · Randy.Dunlap

16-bit PCMCIA is ISA-like, 32-bit CardBus is basically PCI. I've never heard of 16-bit CardBus. Are there some?

No.

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html
#14 lore raw
In reply to Norman Diamond
Quoted 4 lines · Norman Diamond

2. When I attach a USB hard disk drive, 2.6.0 drivers log the following:
[...] no runnable /etc/hotplug/scsi_device.agent is installed 2.4.19 didn't have this problem. 2.4.19 automatically updated /etc/fstab.

Try getting the latest update of the hotplug scripts from
http://linux-hotplug.sf.net/ if you don't like seeing this in your log files. It's a very harmless message.

thanks,

greg k-h

#15 lore raw

"Greg KH" <[email protected]> replied to me:

Quoted 8 lines
Quoted 4 lines

2. When I attach a USB hard disk drive, 2.6.0 drivers log:
[...] no runnable /etc/hotplug/scsi_device.agent is installed 2.4.19 didn't have this problem. 2.4.19 automatically updated /etc/fstab.

Try getting the latest update of the hotplug scripts from
http://linux-hotplug.sf.net/ if you don't like seeing this in your log files. It's a very harmless message.

Once I know that the message is harmless, I don't need to worry about it. But it would be nice if 2.6.0 would automatically update /etc/fstab the way 2.4.19 did. I assume that the new hotplug scripts will do that.

By the way, since we had some discussion of USB keyboards, I want to mention that it is separate (so far) from the keyboard problems that I've reported for 2.6.0-test1 through test3. So far I've only tested 2.6.0 on machines with PS/2 keyboards (or emulations thereof). Considering the patch for test1 which still hasn't made it into test3, maybe I ought to try connecting a USB keyboard to one machine soon. Meanwhile I don't dare to even try 2.6.0 on a machine which depends on its USB keyboard (no PS/2 ports and cessation of BIOS emulation when the OS boots).