[eside-ghost] pcmcia r3000z fbsd
Oinatz
oaspiazu en terra.es
Dom Ene 15 14:42:22 CET 2006
Hola!
Estoy intentando configurar un modem 56k pcmcia en FreeBSD 6.0 stable.
El modem no es un winmodem y funciona en GNU/Linux tras aplicar un
parche al kernel. La cosa es que la bios de la máquina es de esas que
están semi rotas con una implementación de acpi que no se llevan
especialmente bien con todo lo que no sea hasefroch
Tras buscar un rato, me he encontrado con este sitio
http://blackk.union.edu/~black/freebsd/ y he conseguido hacer que el
acpi funcione y parece que todo lo demás, menos pcmcia. La máquina lleva
un amd64 pero de momento estoy metiendo una versión i386 recompilada
para athlon-xp, por lo hasta que nvidia decida que es hora de sacar los
drivers cerrados
Sobre pcmcia hay este hilo:
http://lists.freebsd.org/pipermail/freebsd-amd64/2005-January/003365.html
Donde se comenta un parche para el kernel.
El tema es que el parche es para v5.x y abriendo el
archivo /usr/src/sys/dev/pci/pci_pci.c, la parte de la línea 319 en
adelante parece demasiado distinta como para que el código sea
intercambiable, no sé, quizás es que hay que cambiar realmente un buen
trozo, a pesar de las diferencias.
Tal como lo tengo ahora al hacer un 'ppp -background nombre' simplemente
ni intenta conectarse (tengo añadido lo de la línea 189 a los fuentes
del kernel, lo del #if ...#endif). El puerto com a ppp le he dado un
cuaa4, dmesg me dice que es sio4. No tengo muy claro los nombres com en
fbsd y en principio me conectaría sólo a través de modem pcmcia en
findes, el cable modem funciona de lujo entre semana ;-)
Os adjunto la salida de dmesg y el archivo pci_pci.c de freebsd 6.0
stable (en el hilo que he posteado arriba está el parche de v5.x con las
diferencias)
A ver si alguno me podéis echar un cable que me estoy volviendo loco con
la máquina esta . Parece que hay gente que ha hecho funcionar esto así
que supongo que debería funcionar. Por cierto, ¿tengo que instalar algún
paquete para pcmcia? creo que quizás me falte algo de esto para tener
algún demonio de pccard o algo, ya que en gnu/linux tengo metido también
el 'pcmcia-cs'
un saludo y muchas gracias
Oinatz
------------ próxima parte ------------
Copyright (c) 1992-2005 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 6.0-STABLE #1: Sat Jan 14 21:51:48 CET 2006
root en darkstar:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3200+ (1994.87-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0xf4a Stepping = 10
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory = 536281088 (511 MB)
avail memory = 515420160 (491 MB)
ACPI APIC Table: <NVIDIA NV_APIC_>
ioapic0: Changing APIC ID to 2
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD RSDT> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x21> port 0x62,0x66 on acpi0
acpi0: reservation of 62, 2 (4) failed
acpi0: reservation of 65, b (4) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce3 AGP Controller> mem 0xe8000000-0xefffffff at device 0.0 on pci0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <nVidia nForce3 USB Controller> mem 0xe0000000-0xe0000fff irq 21 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <nVidia nForce3 USB Controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <nVidia nForce3 USB Controller> mem 0xe0001000-0xe0001fff irq 22 at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <nVidia nForce3 USB Controller> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xe0004000-0xe00040ff irq 20 at device 2.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
pci0: <multimedia, audio> at device 6.0 (no driver attached)
pci0: <simple comms, generic modem> at device 6.1 (no driver attached)
atapci0: <nVidia nForce3 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2080-0x208f at device 8.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pcib1: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib1
fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> mem 0xe0108000-0xe01087ff,0xe0100000-0xe0103fff irq 16 at device 0.0 on pci2
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 4a:3f:02:00:4a:3f:02:00
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 4a:3f:02:3f:02:00
fwe0: Ethernet address: 4a:3f:02:3f:02:00
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
rl0: <RealTek 8139 10/100BaseTX> port 0x7000-0x70ff mem 0xe0108800-0xe01088ff irq 18 at device 1.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0f:b0:0f:b2:b7
pci2: <network> at device 2.0 (no driver attached)
cbb0: <PCI-CardBus Bridge> mem 0xe0106000-0xe0106fff irq 16 at device 4.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <PCI-CardBus Bridge> mem 0xe0107000-0xe0107fff irq 18 at device 4.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci2: <base peripheral> at device 4.2 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib2
pci1: <display, VGA> at device 0.0 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x9 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd3fff,0xd4000-0xd4fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: vendor 0x1267 PS/2+USB Mouse, rev 1.10/0.01, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounter "TSC" frequency 1994865391 Hz quality 800
Timecounters tick every 1.000 msec
pcib1: ioport: end (3ff) < start (3000)
pcib1: pccard0 requested unsupported I/O range 0x0-0x0 (decoding 0x3000-0x7fff)
pccard0: Allocation failed for cfe 32
pcib1: ioport: end (2ff) < start (3000)
pcib1: pccard0 requested unsupported I/O range 0x0-0x0 (decoding 0x3000-0x7fff)
pccard0: Allocation failed for cfe 33
pcib1: ioport: end (3ef) < start (3000)
pcib1: pccard0 requested unsupported I/O range 0x0-0x0 (decoding 0x3000-0x7fff)
pccard0: Allocation failed for cfe 34
pcib1: ioport: end (2ef) < start (3000)
pcib1: pccard0 requested unsupported I/O range 0x0-0x0 (decoding 0x3000-0x7fff)
pccard0: Allocation failed for cfe 35
sio4: <Conceptronic MODEM 56CLS> at port 0x3000-0x3007 irq 16 function 0 config 36 on pccard0
sio4: type 16550A
sio4: unable to activate interrupt in fast mode - using normal mode
ad0: 57231MB <TOSHIBA MK6025GAS KA201A> at ata0-master UDMA100
acd0: DVDR <HL-DT-ST DVD-RW GCA-4080N/0C35> at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
Accounting enabled
umass0: vendor 0x0d7d USB DISK Pro, rev 2.00/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DISK Pro PMAP> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 479MB (982016 512 byte sectors: 64H 32S/T 479C)
da1 at umass-sim0 bus 0 target 0 lun 1
da1: < USB DISK Pro PMAP> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers
da1: 1MB (2880 512 byte sectors: 64H 32S/T 1C)
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
umass0: Phase Error, residue = 0
(da1:umass-sim0:0:0:1): Synchronize cache failed, status == 0x4, scsi status == 0x0
umass0: Phase Error, residue = 0
(da1:umass-sim0:0:0:1): Synchronize cache failed, status == 0x4, scsi status == 0x0
umass0: Phase Error, residue = 0
(da1:umass-sim0:0:0:1): Synchronize cache failed, status == 0x4, scsi status == 0x0
------------ próxima parte ------------
Se ha borrado un mensaje que no está en formato texto plano...
Nombre : pci_pci.c
Tipo : text/x-csrc
Tamaño : 17113 bytes
Descripción: no disponible
Url : https://listas.deusto.es/mailman/private/eside-ghost/attachments/20060115/d98539c2/pci_pci-0001.bin
Más información sobre la lista de distribución eside-ghost