Date: Fri, 7 Jan 2000 01:53:18 +0100 From: "Karsten W. Rohrbach" <rohrbach@nacamar.net> To: Dirk-Willem van Gulik <dirkx@webweaving.org> Cc: freebsd-mobile@freebsd.org Subject: Re: vaio n505x questions Message-ID: <20000107015318.A68369@nacamar.net> In-Reply-To: <Pine.BSF.4.10.10001062029230.3591-100000@mobile.webweaving.org>; from Dirk-Willem van Gulik on Thu, Jan 06, 2000 at 08:36:17PM %2B0100 References: <20000106193034.B57591@nacamar.net> <Pine.BSF.4.10.10001062029230.3591-100000@mobile.webweaving.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii hi dirk et al, apparently i cant get sound and ata for the pccard cdrom ("" "NinjaATA-") to work... maybe the newest problem first... on 3.3-PAO i had wdc1 disabled in the config and when i plugged in the cd-rom interface card (sony vaio bundled cdrom drive pcga-cd51) it attached to wdc1 as acd0 and i got my cd rom... on 4.0 it wont attach to the ata driver... look: Jan 6 04:29:19 hardcore /kernel: devclass_alloc_unit: ata1 already exists, using next available unit number Jan 6 04:29:19 hardcore pccardd[156]: driver allocation failed for (NinjaATA-): Device not configured in pccard.conf i use nearly the same line as with 3.3: # Ninja-ATA CD-ROM Drive, MELCO CDN-D12EX card " " "NinjaATA-" config 0x21 "ata1" ? insert logger -s Ninja ATA inserted remove logger -s Ninja ATA removed -current uses ata[0123] or did i get something wrong there? the other funny thing is the usb floppy drive (sony pcga-ufd5) which identifies as this: Jan 6 03:16:54 hardcore /kernel: ugen0: Y-E DATA FlashBuster-U, rev 1.00/1.28, addr 2 shouldnt this get mapped to umass0 and then be attached to the cam transport layer or something? (at least thats my impression of things from the iomega usb zip comments in the code) Dirk-Willem van Gulik (dirkx@webweaving.org) @ Thu, Jan 06, 2000 at 08:36:17PM +0100: > > > filesystem and PAO 3.3-R into the box, i managed it to upgrade to > > -current and that's what is running now. the issues i cannot find (due > > to lack of the new pccard and pnp stuff) > > Ok, I am currently on current plus some PAO though that is hardly needed > anymore. how far not needed? i thought pao would be history with -current? > > > out more about are > > - pccard driver does not recognise the cards itself, i have to pccardc > > power 0 1 to get them recognised > > Hmm, is that always ? or only after a reboot (during which power-on > session you also ran windows ?) If it is always, then I guess that a > #ifdef in 3.3-R from pao got missing. its always, windows is not installed anymore on that box... its just a 6.4gig disk you know... ;-) > > Either case, could you test: > > 1. power down the machine > 2. remove battery fo 30 seconds > 3. boot directly into freebsd > 4. wait for the system to come up > 5. do a tail -f /var/log/messages > 6. insert the card nope, wont work either for me.. :( when i insert the card, nothing happens... when i do pccardc power 0 1 it starts might this be related to the bios setting of "pnp capable operating system"? i got this set to no, since usb wont work when i leave it switched to on... > > does this work ? what do you see ? you might want to Cc in > freebsd-mobile@freebsd.org, there are lots of people with identical > machines there. And what card is it ? Is it in www.jp.freebsd.org/PAO > list ? d-link dfe-660 (10mbit), it is supported with the ed driver and, yes i finally cc:'ed it ;-) btw on -current this card kicks ass, since it runs 1.01MB/s ftp transfers over a sustained period... i'm just make'ing fetch in /usr/ports/x11* and net from ftp2.de (which is inhouse of course) and this is fast like hell... on 3.3-PAO it was way slower (~700KB/s) > > If it does not work, it can be most likely fixed with the right 'option' > in the kernel config, as it works in PAO. ? which one ? > > I recognize the above when I have ran windows, windows seems to get the > card in a state where I either need to unplug it, or power it down, before > it gets recognized. pccard seems to be a real mess on micro$oft, huh? i'm rather glad that freebsd runs more or less smoothly but rock stable on this box and it was a good choice to kick windows98 off the disk... btw, i read something about supend to disk and phdisk.exe in the mailing list archives, is there some sort of howto for suspend to disk with freebsd? > > > - how do i get the sound driver to work with the new pnp code (options > > PNPBIOS)??? the comment in LINT sayd, that luigi's driver does support > > the PNPBIOS stuff... > > It is not PnP, at least not on my 505x. So I jot down the settings in the > BIOS (hammer esc/f1 during boot, choose settings), then reboot, and when i press esc, i get a boot menu for selecting the boot device f2 jumps to the setup, but theres just ata, irda, serial, parallel and password and time and that's pretty it... no soundcard option, no nothing if its hardcoded/preset: does someone know the port/irq/dma/chiptype (or even tell me the device line for -current kernel config)??? btw, options PNPBIOS throws the following when booting: Jan 6 03:51:07 hardcore /kernel: unknown: <PNP0c02> can't assign resources Jan 6 03:51:07 hardcore /kernel: unknown0: <PNP0c01> at iomem 0-0x9ffff,0xe8000-0xfffff,0x100000-0x3ffffff on isa0 Jan 6 03:51:07 hardcore /kernel: unknown1: <PNP0200> at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 Jan 6 03:51:07 hardcore /kernel: unknown: <PNP0000> can't assign resources Jan 6 03:51:07 hardcore /kernel: unknown2: <PNP0100> at port 0x40-0x43 irq 0 on isa0 Jan 6 03:51:07 hardcore /kernel: unknown3: <PNP0b00> at port 0x70-0x71 irq 8 on isa0 Jan 6 03:51:07 hardcore /kernel: unknown: <PNP0303> can't assign resources Jan 6 03:51:07 hardcore /kernel: unknown4: <PNP0c04> at port 0xf0-0xff irq 13 on isa0 Jan 6 03:51:07 hardcore /kernel: unknown: <PNP0800> can't assign resources Jan 6 03:51:07 hardcore /kernel: unknown5: <PNP0a03> at port 0xcf8-0xcff on isa0 Jan 6 03:51:07 hardcore /kernel: unknown6: <PNP0c02> at iomem 0xdc000-0xdffff on isa0 Jan 6 03:51:07 hardcore /kernel: unknown7: <PNP0c02> on isa0 Jan 6 03:51:07 hardcore /kernel: unknown8: <PNP0e03> at port 0x3e0-0x3e1 on isa0 Jan 6 03:51:07 hardcore /kernel: unknown: <PNP0501> can't assign resources Jan 6 03:51:07 hardcore /kernel: unknown: <PNP0401> can't assign resources Jan 6 03:51:07 hardcore /kernel: unknown: <PNP0f13> can't assign resources this seems like a lot of unknown/uncataloged devices... even if i dont understand the new PNPBIOS code (didnt have an in-depth look at it yet), if someone tells me what info is needed, i might annoy the sony folks with some hardware questions and get the info on these devs... > manually enter them into the kernel settings. Either at compile time or > with a boot 'kernel -c'. I do the same for serial ports (modem, com port, > irda) and the parallel port. > > > if you got some idea, i'd be very happy =) since i'm really new to > > notebooks and all that pnp pccard cardbus and whatsoever stuff... > > Well, try the aboe. tried and had bad luck :( > > Dw. > now, this became a long one... thanks in advance for any reply! i attached the kernel config and dmesg output for further investigation... /k -- > "There is a God, but He drinks" -- Blore http://www.nacamar.de - http://www.nacamar.net - http://www.webmonster.de http://www.apache.de - http://www.quakeforum.de - finger rohrbach@nacamar.net KR433/KR11-RIPE - PGP-KFP = F9 A0 DF 91 74 07 6A 1C 5F 0B E0 6B 4D CD 8C 44 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Description: kernel config for 4.0-current Content-Disposition: attachment; filename=HARDCORE # # PCCARD -- Generic machine with WD/AHx/NCR/BTx family disks and PCMCIA # hardware support # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.freebsd.org/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/PCCARD,v 1.38 2000/01/05 04:27:14 wpaul Exp $ machine i386 #cpu I386_CPU #cpu I486_CPU #cpu I586_CPU cpu I686_CPU options PQ_LARGECACHE options NO_F00F_HACK ident HARDCORE maxusers 64 options PNPBIOS #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options DDB options DDB_UNATTENDED options INET #InterNETworking options ICMP_BANDLIM options TCP_RESTRICT_RST options FFS #Berkeley Fast Filesystem options SOFTUPDATES options FFS_ROOT #FFS usable as root device [keep this!] #options MFS #Memory Filesystem #options MD_ROOT #MD is a potential root device #options NFS #Network Filesystem #options NFS_ROOT #NFS usable as root device, "NFS" req'ed options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_LINUX options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) syscall trace support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs controller isa0 controller eisa0 controller pci0 # Floppy drives #controller fdc0 at isa? port IO_FD1 irq 6 drq 2 #device fd0 at fdc0 drive 0 #device fd1 at fdc0 drive 1 # ATA and ATAPI devices controller ata0 # at isa? port IO_WD1 irq 14 #controller ata1 at isa? port IO_WD2 irq 15 disable #controller ata2 device atadisk0 # ATA disk drives device atapicd0 # ATAPI CDROM drives #device atapifd0 # ATAPI floppy drives #device atapist0 # ATAPI tape drives options ATA_STATIC_ID #Static device numbering options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices options IDE_DELAY=3000 # SCSI Controllers # A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is # sufficient for any number of installed devices. #controller ahb0 # EISA AHA1742 family #controller ahc0 # AHA2940 and onboard AIC7xxx devices #controller amd0 # AMD 53C974 (Teckram DC-390(T)) #controller dpt0 # DPT Smartcache - See LINT for options! #controller isp0 # Qlogic family #controller ncr0 # NCR/Symbios Logic ##controller sym0 # NCR/Symbios Logic (do not mix with ncr, it conflicts) #controller adv0 at isa? port ? irq ? #controller adw0 #controller bt0 at isa? port ? irq ? #controller aha0 at isa? port ? irq ? #controller aic0 at isa? port ? irq ? # SCSI peripherals # Only one of each of these is needed, they are dynamically allocated. controller scbus0 # SCSI bus (required) device da0 # Direct Access (disks) #device sa0 # Sequential Access (tape etc) #device cd0 # CD device pass0 # Passthrough device (direct SCSI access) device fd0 at scbus? # RAID controllers #device amr0 # AMI MegaRAID #device mlx0 # Mylex DAC960 family # atkbdc0 controls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash options VESA # syscons is the default console driver, resembling an SCO console device sc0 at isa? options UCONSOLE options SC_PIXEL_MODE options SC_ALT_MOUSE_IMAGE options SC_TWOBUTTON_MOUSE options SC_HISTORY_SIZE=512 # number of history buffer lines options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" options SC_KERNEL_CONS_ATTR="(FG_WHITE|BG_BLUE)" options SC_KERNEL_CONS_REV_ATTR="(FG_BLUE|BG_LIGHTGREY)" # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? #flags 0x20 # Advanced Power Management # PCCARD (PCMCIA) support controller card0 device pcic0 at isa? device pcic1 at isa? #options PCIC_RESUME_RESET # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 #device sio1 at isa? port IO_COM2 irq 3 #device sio2 at isa? disable port IO_COM3 irq 5 #device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? port? flags 0x40 irq 7 controller ppbus0 # Parallel port bus (required) device lpt0 # Printer #device plip0 # TCP/IP over parallel device ppi0 # Parallel port interface device #controller vpo0 # Requires scbus and da0 # PCI Ethernet NICs. #device de0 # DEC/Intel DC21x4x (``Tulip'') #device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) #device tx0 # SMC 9432TX (83c170 ``EPIC'') #device vx0 # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. #controller miibus0 # MII bus support #device dc0 # DEC/Intel 21143 and various workalikes #device rl0 # RealTek 8129/8139 #device sf0 # Adaptec AIC-6915 (``Starfire'') #device sis0 # Silicon Integrated Systems SiS 900/SiS 7016 #device ste0 # Sundance ST201 (D-Link DFE-550TX) #device tl0 # Texas Instruments ThunderLAN #device vr0 # VIA Rhine, Rhine II #device wb0 # Winbond W89C840F #device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. #device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 device ed0 at isa? port? irq? disable #device ex0 at isa? port? irq? # NOTE: This removes the isa attachment so that the pccard unit numbers # come out right. #device ep0 # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really # exists only as a PCMCIA device, so there is no ISA attatement needed # and resources will always be dynamically assigned by the pccard code. #device wi0 # The probe order of these is presently determined by i386/isa/isa_compat.c. #device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 #device fe0 at isa? port 0x300 irq ? #device le0 at isa? port 0x300 irq 5 iomem 0xd0000 #device lnc0 at isa? port 0x280 irq 10 drq 0 #device cs0 at isa? port 0x300 irq ? #device sn0 at isa? port 0x300 irq 10 # requires PCCARD (PCMCIA) support to be activated device xe0 at isa? port? irq ? # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support #pseudo-device sl 1 # Kernel SLIP #pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) #pseudo-device md # Memory "disks" # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter #controller snd0 #device mss0 at isa? port 0x530 irq 11 drq 1 # vector adintr # USB support controller uhci0 # UHCI PCI->USB interface #controller ohci0 # OHCI PCI->USB interface controller usb0 # USB Bus (required) #device ugen0 # Generic #device uhid0 # "Human Interface Devices" #device ukbd0 # Keyboard #device ulpt0 # Printer controller umass0 # Disks/Mass storage - Requires scbus and da0 #device ums0 # Mouse #device aue0 # ADMtek USB ethernet #device kue0 # Kawasaki LSI USB ethernet device pcm0 controller smbus0 controller intpm0 device smb0 at smbus? device smb1 at intpm? --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Description: dmesg output from last boot Content-Disposition: attachment; filename=dmesg Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #8: Thu Jan 6 17:42:00 CET 2000 root@hardcore.mobile.webmonster.de:/usr/src/sys/compile/HARDCORE Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Celeron (331.58-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 67043328 (65472K bytes) avail memory = 61964288 (60512K bytes) Preloaded elf kernel "kernel" at 0xc02d4000. VESA: v2.0, 2496k memory, flags:0x0, mode table:0xc027f002 (1000022) VESA: MagicMedia 256AV 48K Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard pci0: <PCI bus> on pcib0 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 ata-pci0: <Intel PIIX4 ATA-33 controller> at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 9 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 intpm0: <Intel 82371AB Power management controller> at device 7.3 on pci0 intpm0: I/O mapped 1040 intpm0: intr IRQ 9 enabled revision 0 smbus0: <System Management Bus> on intsmb0 smb0: <SMBus general purpose I/O> on smbus0 intpm0: PM I/O mapped 8000 pci0: unknown card (vendor=0x104d, dev=0x8039) at 8.0 irq 9 pci0: unknown card (vendor=0x1073, dev=0x0010) at 9.0 irq 9 vga-pci0: <NeoMagic MagicMedia 256AV SVGA controller> irq 3 at device 10.0 on pci0 pcic-pci0: <Ricoh RL5C475 PCI-CardBus Bridge> at device 12.0 on pci0 atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic: polling, can't alloc 0 pcic0: <Intel i82365> on isa0 pccard0: <PC Card bus -- kludge version> on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppi0: <generic parallel i/o> on ppbus 0 ed0: not probed (disabled) unknown: <PNP0c02> can't assign resources unknown0: <PNP0c01> at iomem 0-0x9ffff,0xe8000-0xfffff,0x100000-0x3ffffff on isa0 unknown1: <PNP0200> at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 unknown: <PNP0000> can't assign resources unknown2: <PNP0100> at port 0x40-0x43 irq 0 on isa0 unknown3: <PNP0b00> at port 0x70-0x71 irq 8 on isa0 unknown: <PNP0303> can't assign resources unknown4: <PNP0c04> at port 0xf0-0xff irq 13 on isa0 unknown: <PNP0800> can't assign resources unknown5: <PNP0a03> at port 0xcf8-0xcff on isa0 unknown6: <PNP0c02> at iomem 0xdc000-0xdffff on isa0 unknown7: <PNP0c02> on isa0 unknown8: <PNP0e03> at port 0x3e0-0x3e1 on isa0 unknown: <PNP0501> can't assign resources unknown: <PNP0401> can't assign resources unknown: <PNP0f13> can't assign resources ad0: <TOSHIBA MK8113MAT/J3.00 A> ATA-4 disk at ata0 as master ad0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 Mounting root from ufs:/dev/ad0s1a pccard: card inserted, slot 0 ed1 at port 0x240-0x25f irq 10 slot 0 on pccard0 ed1: address 00:80:c8:8d:62:e9, type NE2000 (16 bit) --Qxx1br4bt0+wmkIi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000107015318.A68369>