Date: Wed, 05 Jul 2000 14:59:16 +0900 From: haro@tk.kubota.co.jp (Munehiro Matsuda) To: mark@grondar.za Cc: current@FreeBSD.ORG Subject: Re: randomdev and APM. Not working together? Message-ID: <20000705145916I.haro@tk.kubota.co.jp> In-Reply-To: <200007010649.IAA13685@grimreaper.grondar.za> References: <20000701104544S.haro@tk.kubota.co.jp> <200007010649.IAA13685@grimreaper.grondar.za>
next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Wed_Jul__5_14:55:10_2000_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mark, I'm sorry for the delay. I was out of town for few days.. From: Mark Murray <mark@grondar.za> Date: Sat, 01 Jul 2000 08:49:50 +0200 ::> If I use randomdev for ssh, then APM seem to have stopped working. :: ::This is wierd; I am running this randomdev on my Libretto, (I wrote ::it there), and it and APM are both fine. :: ::> Am I doing something wrong? :: ::No - you are doing everything right. :: ::Can you do any debugging on this? Are you able perhaps to trace the ::kernel and see where it fails? Ok. I'll see what I can do. BTW, I've taken a diff of dmesg output between randomdev loaded and unloaded. As you can see, (1)outcome of "Calibrating clock" differs and (2)device attaching order is some what different. I'll let you know, if I can find anthing. Thank you, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kubota.co.jp ----Next_Part(Wed_Jul__5_14:55:10_2000_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg.diffs" --- dmesg.no_randomdev Wed Jul 5 14:27:12 2000 +++ dmesg.randomdev Wed Jul 5 14:19:13 2000 @@ -3,18 +3,17 @@ The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #2: Fri Jun 30 13:08:01 JST 2000 haro@jkpc15.ttr.kubota.co.jp:/usr/src/sys/compile/JKPC15 -Calibrating clock(s) ... TSC clock: 266597235 Hz, i8254 clock: 1193106 Hz -CLK_USE_I8254_CALIBRATION not specified - using default frequency +Calibrating clock(s) ... TSC clock: 266597855 Hz, i8254 clock: 1181176 Hz +1181176 Hz differs from default of 1193182 Hz by more than 1% Timecounter "i8254" frequency 1193182 Hz -CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium II/Pentium II Xeon/Celeron (266.62-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 134152192 (131008K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) -0x0042f000 - 0x07fdbfff, 129683456 bytes (31661 pages) -avail memory = 126369792 (123408K bytes) +0x00436000 - 0x07fdbfff, 129654784 bytes (31654 pages) +avail memory = 126341120 (123380K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fdb70 bios32: Entry = 0xfdb80 (c00fdb80) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xdba1 @@ -23,21 +22,19 @@ pnpbios: Event flag at 4ed Other BIOS signatures found: ACPI: 000fa1a0 -Preloaded elf kernel "kernel" at 0xc0416000. +Preloaded elf kernel "kernel" at 0xc041d000. +Preloaded elf module "randomdev.ko" at 0xc041d0a8. +random: <entropy source> +nulldev: <null device, zero device> mem: <memory & I/O> Pentium Pro MTRR support enabled -nulldev: <null device, zero device> md0: Malloc disk Creating DISK md0 Math emulator present -npx0: <math processor> on motherboard -npx0: INT 16 interface -apm0: <APM BIOS> on motherboard -apm: found APM BIOS v1.2, connected at v1.2 ACPI: Found ACPI BIOS data at 0xc00fa1a0 (<NEC >, RSDT@7ff0000) acpi0: <NEC > on motherboard -acpi0: ADDR RANGE 7ff0000 8000 (mapped 0xc7b94000) -acpi0: ADDR RANGE 7ff8000 8000 (mapped 0xc7b9c000) +acpi0: ADDR RANGE 7ff0000 8000 (mapped 0xc7b91000) +acpi0: ADDR RANGE 7ff8000 8000 (mapped 0xc7b99000) acpi0: RSDT have 1 entries acpi0: RSDT entry0 FACP acpi0: FACP found @@ -53,7 +50,9 @@ acpi0: acpi_io_gpe0_enable(0) = (0) acpi0: acpi_io_pm1_control(0) = (1403, 0) acpi0: acpi_io_pm2_control(0) = (0) -acpi0: acpi_io_pm_timer(0) = (fa42ff) +acpi0: acpi_io_pm_timer(0) = (796fc8) +npx0: <math processor> on motherboard +npx0: INT 16 interface pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard found-> vendor=0x8086, dev=0x7192, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=0 @@ -175,6 +174,17 @@ uhub0: port 1 power on failed, IOERROR uhub0: port 2 power on failed, IOERROR pci0: <Intel 82371AB Power management controller> (vendor=0x8086, dev=0x7113) at 7.3 +ex_isa_identify() +ata-: ata0 exists, using next available unit number +ata-: ata1 exists, using next available unit number +Trying Read_Port at 203 +Trying Read_Port at 243 +Trying Read_Port at 283 +Trying Read_Port at 2c3 +Trying Read_Port at 303 +Trying Read_Port at 343 +Trying Read_Port at 383 +Trying Read_Port at 3c3 pnpbios: 16 devices, largest 257 bytes PNP0c01: adding fixed memory32 range 0-0x9fbff, size=0x9fc00 PNP0c01: adding fixed memory32 range 0x9fc00-0x9ffff, size=0x400 @@ -278,49 +288,10 @@ PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0x1 PNP0a03: end config pnpbios: handle 16 device ID PNP0a03 (030ad041) -Trying Read_Port at 203 -Trying Read_Port at 243 -Trying Read_Port at 283 -Trying Read_Port at 2c3 -Trying Read_Port at 303 -Trying Read_Port at 343 -Trying Read_Port at 383 -Trying Read_Port at 3c3 -ata-: ata0 exists, using next available unit number -ata-: ata1 exists, using next available unit number -vga-: vga0 exists, using next available unit number sc-: sc0 exists, using next available unit number -ex_isa_identify() +vga-: vga0 exists, using next available unit number isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices -vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 -fb0: vga0, vga, type:VGA (5), flags:0x7007f -fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 -fb0: init mode:24, bios mode:3, current mode:24 -fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k -vga0: vga: WARNING: video mode switching is not fully supported on this adapter -VGA parameters upon power-up -50 18 10 00 00 00 03 00 02 e7 a3 4f 67 8f 6b 1c -24 b3 00 6f 0d 0e 00 00 07 80 49 8f 8f 28 1f 47 -6d a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c -3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff -VGA parameters in BIOS for mode 24 -50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 -bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 -b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c -3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff -EGA/VGA parameters to be used for mode 24 -50 18 10 00 00 00 03 00 02 e7 a3 4f 67 8f 6b 1c -24 b3 00 6f 0d 0e 00 00 07 80 49 8f 8f 28 1f 47 -6d a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c -3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff -atkbd: the current kbd controller command byte 0047 -atkbd: keyboard ID 0x41ab (2) -kbdc: RESET_KBD return code:00fa -kbdc: RESET_KBD status:00aa -sc0: <System console> on isa0 -sc0: VGA <16 virtual consoles, flags=0x200> -sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 @@ -328,6 +299,10 @@ isa0: <@@@0000> found at port 0x170 irq 15 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 +atkbd: the current kbd controller command byte 0047 +atkbd: keyboard ID 0x41ab (2) +kbdc: RESET_KBD return code:00fa +kbdc: RESET_KBD status:00aa kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0047 @@ -347,9 +322,30 @@ psm0: model GlidePoint, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 -isa0: <@@@0000> found -sc1: no video adapter is found. -isa0: <@@@0000> found at flags 0x100 +vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 +fb0: vga0, vga, type:VGA (5), flags:0x7007f +fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 +fb0: init mode:24, bios mode:3, current mode:24 +fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k +vga0: vga: WARNING: video mode switching is not fully supported on this adapter +VGA parameters upon power-up +50 18 10 00 00 00 03 00 02 e7 a3 4f 67 8f 6b 1c +24 b3 00 6f 0d 0e 00 00 07 80 49 8f 8f 28 1f 47 +6d a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c +3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff +VGA parameters in BIOS for mode 24 +50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 +bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 +b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c +3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff +EGA/VGA parameters to be used for mode 24 +50 18 10 00 00 00 03 00 02 e7 a3 4f 67 8f 6b 1c +24 b3 00 6f 0d 0e 00 00 07 80 49 8f 8f 28 1f 47 +6d a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c +3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff +sc0: <System console> at flags 0x100 on isa0 +sc0: VGA <16 virtual consoles, flags=0x300> +sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) isa0: <@@@0000> found pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 10 on isa0 pcic0: management irq 10 @@ -369,12 +365,15 @@ ppc0: <Parallel port> at port 0x378-0x37b irq 7 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold -ppi0: <Parallel I/O> on ppbus0 -lpt0: <Printer> on ppbus0 -lpt0: Interrupt-driven port plip0: <PLIP network interface> on ppbus0 bpf: lp0 attached +lpt0: <Printer> on ppbus0 +lpt0: Interrupt-driven port +ppi0: <Parallel I/O> on ppbus0 pca0 at port 0x40 on isa0 +sc1: no video adapter is found. +isa0: <@@@0000> found +isa0: <@@@0000> found isa_probe_children: probing PnP devices unknown: <PNP0320> can't assign resources pca1: <AT-style speaker sound> at port 0x61 on isa0 @@ -389,15 +388,15 @@ 1:0260fe3f 0..608=609 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. -bpf: ppp0 attached -new masks: bio 68c240, tty 631092, net 6710b2 -bpf: lo0 attached +bpf: faith0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: stf0 attached -bpf: faith0 attached +bpf: lo0 attached +bpf: ppp0 attached +new masks: bio 68c240, tty 631092, net 6710b2 Linux-ELF exec handler installed IP Filter: v3.4.4 initialized. Default = pass all, Logging = enabled ata0-master: success setting up UDMA2 mode on PIIX4 chip ----Next_Part(Wed_Jul__5_14:55:10_2000_809)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000705145916I.haro>