If I put the sio0 line in /boot/device.hints, dmesg displays this:
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
If I remove the sio line from device.hints, sio does not even appear in the
dmesg output. The laptop has a Phoenix BIOS and offers Win95/98, Win2000 and
Other as options for the "PnP" setting in the BIOS. I set it to "Other",
because that makes the sound and USB support work, but tried the other two
settings without success.
I searched the internet and found a mail from someone having the same problem
installing Linux on such a laptop. My search for a BIOS upgrade was
unfortunately unsuccessfull. Of course, the serial port works just fine under
Windows ME.
Any idea how I might get that damn serial port going? pnpinfo just displays
this:
Checking for Plug-n-Play devices...
No Plug-n-Play devices were found
Below are the dmesg and acpidump output.
/root# dmesg
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #2: Sun Nov 25 14:55:03 CET 2001
ro...@laptop.medinet.si:/usr/obj/usr/src/sys/LAPTOP
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0367000.
Preloaded elf module "/boot/kernel/if_an.ko" at 0xc03670a8.
Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc0367154.
Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc0367200.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc03672b4.
Preloaded elf module "/boot/kernel/random.ko" at 0xc0367360.
Preloaded elf module "/boot/kernel/if_ed.ko" at 0xc036740c.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc03674b8.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0367564.
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 801821724 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (801.82-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 134152192 (131008K bytes)
avail memory = 126894080 (123920K bytes)
Pentium Pro MTRR support enabled
Using $PIR table, 4 entries at 0xc00fdf80
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD RSDT > on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI" frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcm0: <ESS Technology Allegro-1> port 0xf800-0xf8ff irq 5 at device 4.0 on pci0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcd0-0xfcdf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcic0: <O2micro 6832/6833 PCI-Cardbus Bridge> at device 10.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: Polling mode
pcic0: Warning: O2micro OZ68xx chips may not work
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <O2micro 6832/6833 PCI-Cardbus Bridge> at device 10.1 on pci0
pcic1: PCI Memory allocated: 0x44001000
pcic1: Polling mode
pcic1: Warning: O2micro OZ68xx chips may not work
pccard1: <PC Card bus (classic)> on pcic1
acpi_button0: <Power Button> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
fdc0: <NEC 72065B or clone> port 0x3f7,0x3f0-0x3f5 irq 6 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc-: atkbdc0 already exists, skipping it
fdc-: fdc0 already exists, skipping it
sc-: sc0 already exists, skipping it
vga-: vga0 already exists, skipping it
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ad0: 19077MB <TOSHIBA MK2017GAP> [38760/16/63] at ata0-master UDMA33
acd0: CDROM <MATSHITA CR-177> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
system power profile changed to 'economy'
pccard: card inserted, slot 0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ed0 at port 0x300-0x31f irq 3 flags 0x10 slot 0 on pccard0
ed0: address 00:10:60:a8:1c:55, type NE2000 (16 bit)
/root# acpidump
/*
RSD PTR: Checksum=53, OEMID=PTLTD, RsdtAddress=0x07ffc935
*/
/*
RSDT: Length=44, Revision=1, Checksum=225,
OEMID=PTLTD, OEM Table ID= RSDT, OEM Revision=0x0,
Creator ID= LTP, Creator Revision=0x0
*/
/*
Entries={ 0x07fffb65, 0x07fffbd9 }
*/
/*
DSDT=0x7ffc961
INT_MODEL=PIC
SCI_INT=9
SMI_CMD=0xb2, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0x0
PM1a_EVT_BLK=0x1000-0x1003
PM1a_CNT_BLK=0x1004-0x1005
PM2_TMR_BLK=0x1008-0x100b
PM2_GPE0_BLK=0x100c-0x100f
P_LVL2_LAT=10ms, P_LVL3_LAT=1001ms
FLUSH_SIZE=0, FLUSH_STRIDE=0
DUTY_OFFSET=1, DUTY_WIDTH=3
DAY_ALRM=13, MON_ALRM=0, CENTURY=50
Flags={WBINVD,SLP_BUTTON}
*/
acpidump: DSDT is corrupt
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Two things to try;
1) does your BIOS have a setting to disable serial ports? If so, make sure that sio0 is
enabled in bios.
2) Use that "other os" to find out what resurces it thinks your serial port are using. It
might use something other than irq 4 and port 0x3f7-0x3ff. If so change to correct
resources in the boot configuration (visual editor).
Hope this helps.--
Torfinn Ingolfsen,
Norway
Note that this means that interrupts are not working for this port.
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250
>
> If I remove the sio line from device.hints, sio does not even appear in the
> dmesg output. The laptop has a Phoenix BIOS and offers Win95/98, Win2000 and
> Other as options for the "PnP" setting in the BIOS. I set it to "Other",
> because that makes the sound and USB support work, but tried the other two
> settings without success.
Make sure you haven't disabled the serial port in the BIOS, or configured
it for IR or something. The most "correct" setting would be Win2000, but
as you've noticed, our PCI support doesn't handle this yet. 8(
> Any idea how I might get that damn serial port going? pnpinfo just displays
> this:
>
> Checking for Plug-n-Play devices...
> No Plug-n-Play devices were found
pnpinfo is only relevant for ISA PnP devices; basically just old sound
cards, and not at all useful here.
> acpidump: DSDT is corrupt
You might try to get an ACPI dump via other means, but it looks like this
may be part of the problem. 8(
--
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also. But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view. [Dr. Fritz Todt]
V I C T O R Y N O T V E N G E A N C E
It is.
> 2) Use that "other os" to find out what resurces it thinks your serial port are using. It
> might use something other than irq 4 and port 0x3f7-0x3ff. If so change to correct
> resources in the boot configuration (visual editor).
It's set to the correct values, I forgot to mention all this in my mail.
Exactly, because it's probably not even activated.
> Make sure you haven't disabled the serial port in the BIOS, or configured
> it for IR or something. The most "correct" setting would be Win2000, but
> as you've noticed, our PCI support doesn't handle this yet. 8(
There are three settings for the serial ports: disabled, enabled and auto.
"disabled" is obvious, "enabled" allows me to set the I/O address and IRQ,
which are set correctly, auto probably does that automatically. None of the
settings make the ports work.
> > Checking for Plug-n-Play devices...
> > No Plug-n-Play devices were found
>
> pnpinfo is only relevant for ISA PnP devices; basically just old sound
> cards, and not at all useful here.
Aren't some serial ports configured as ISA PnP devices? Yeah, probably not in
newer machines (especially those supporting ACPI).
> > acpidump: DSDT is corrupt
>
> You might try to get an ACPI dump via other means, but it looks like this
> may be part of the problem. 8(
I feared that. What are the "other means" to get an ACPI dump? I believe there
is also a FreeBSD ACPI mailing list somewhere.