Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2000 17:32:44 +0000 (GMT)
From:      Paul Thornton <prt@prt.org>
To:        wcp@pop.systemy.it
Cc:        mobile@freebsd.org
Subject:   Re: Vaio PCG-XG9 problems
Message-ID:  <Pine.BSF.4.21.0001241718300.9770-100000@avalon.whirlygig.co.uk>
In-Reply-To: <14476.19269.487391.3117@vaiolo.db.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Jan 2000, Walter C. Pelissero wrote:

> I succeeded installing a FreeBSD 3.3 on my brand new XG9 but I
> erroneously deleted the suspend partition.  Does anybody know how to
> re-create it?

I think there is a utility on the CD that sorts it out.  I'll have to have a
look (I've not had to fix this problem yet!).  I just ran fdisk to see what
the partition type is, but I seem to have deleted it as well!  If I can find
a colleagues machine, I'll look on that to see what the ID is.
 
> While everything seems to work perfectly I'm still not able to use the
> sound card.  The system boots recognizing my sound card as a SP Pro
> but if I try to play something I get only one second or two of sound
> and then an IRQ/DMA misconfiguration error from the kernel.  I tried
> almost every available IRQ but it still doesn't work.

I haven't really tried the sound card.  The results I get are:
 pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa
 Unknown card 0x0 0x0 -- hope it is SBPRO

> Last but not least the USB bus cannot be initialized properly because
> of IRQ to high (255!).  I can fix this entering the BIOS setup and
> specifying a *non* PNP operating system, but this breaks Windoze 98.

I had this problem too - I can't remember how it was fixed.  Someone on the
list came up with the solution IIRC.  I get the following output when its
probed:
 uhci0: <Intel 82371AB/EB USB Host Controller> rev 0x01 int d irq 9 on
 pci0.7.2
  ... and ...
 usb0: <Intel 82371AB/EB USB Host Controller>
 uhub0 at usb0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 ums0
 ums0: Microsoft Microsoft IntelliMouse \M-. with IntelliEye, rev 1.10/1.00,
 addr 2, iclass 3/1
 ums0: 3 buttons and Z dir.

That is with the docking station attached, BTW.
 
> Any Vaio XG9 expert out there?

Well, I'm learning the hard way.  The other thing I can't make work is the
PCMCIA slot on the docking station.  It sees it when probed, but I can't seem
to get the kernel config right to make it fly.
 RL5C4XX PCI Config Reg: 
 pcic1: <Ricoh RL5C478 PCI-CardBus Brige> rev 0x80 int b irq 255 on pci0.12.1
 RL5C4XX PCI Config Reg: 
 pcic2: <Ricoh RL5C475 PCI-CardBus Brige> rev 0x80 int a irq 255 on pci0.16.0
 RL5C4XX PCI Config Reg: [CSC isa irq]

Hope this helps; here is the kernel config I'm using:

# Kernel Config for FreeBSD 3.3-RELEASE on a Sony PCG-X9 notebook
# version 1.3 prt, 24/11/1999

machine         "i386"
cpu             "I586_CPU"
cpu             "I686_CPU"
ident           "SONY-X9-2"
maxusers        28

options         "MAXMEM=(128*1024)"

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep
this!]
options         MFS                     #Memory Filesystem
options         MFS_ROOT                #MFS usable as root device,
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device,
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         "CD9660_ROOT"           #CD-ROM usable as
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=5000         #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
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

# You may need to reset all pccards after resuming
options         PCIC_RESUME_RESET

# Detach SCSI devices when the SCSI card is removed
#options        SCSI_DETACH

# Detach ATAPI devices when the ATA card is removed
options         ATAPI_DETACH

# Japanese version of WaveLAN PCMCIA uses 2.4GHz band instead of 915MHz
# band that US version uses.  If you want to use Japanese version of
# WaveLAN, uncomment this line, or edit the corresponding config entry
# of /etc/pccard.conf.
#options        "WAVELAN_PCMCIA_24"

# Suspend the system when the battery status is "Low"
#options        "APM_BATT_LOW_SUSPEND"

# If you want to use NTP on laptop machines, uncomment the following 
# option.  Current APM implementation affects NTP client.
options "APM_NO_CLOCK_ADJUST"

# PAO Enhanced PCI-PCIC support (experimental)
#options        CB_TEST
#options        FORCE_IRQ_ROUTING

config          kernel  root on wd0

# 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      pnp0                    # PnP support for ISA
controller      pci0

# PCCARD (PCMCIA) support - do not remove.
pseudo-device   card    1

#controller card0
#device pcic0   at card?
#device pcic1   at card?
#device pcic2   at card?

# You must use "flags 0x1" when you don't hear any negotiation noise(?)
# if you use modem card, or pccardd doesn't read cis tuple, tell you 
# 'No card in database for"(null)"("(null)")' in case of Cirrus Logic's 
# pcic is your PC.
device          pcic0   at isa? port 0x3e0 irq 11
#device         pcic1   at isa? port 0x3e4 irq 11

# Floppy drives
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0
#disk           fd1     at fdc0 drive 1

# IDE controller and disks
options         "CMD640"        # work around CMD640 chip deficiency
controller      wdc0    at isa? port "IO_WD1" bio irq 14
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

# Flash ATA / ATA HDD / ATAPI drive support
controller      wdc2    at isa? disable port 0x340 bio irq ?
disk            wd4     at wdc2 drive 0
#disk           wd5     at wdc2 drive 1

controller      wdc3    at isa? disable port 0x360 bio irq ?
disk            wd6     at wdc3 drive 0
#disk           wd7     at wdc3 drive 1

# ATAPI devices
options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          acd0            #IDE CD-ROM
#device         wfd0            #IDE Floppy (e.g. LS-120)

# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
#controller     ncr0            # NCR/Symbios Logic
#controller     ahb0            # EISA AHA1742 family
#controller     ahc0            # AHA2940 and onboard AIC7xxx devices
#controller     amd0            # AMD 53C974 (Teckram DC-390(T))
#controller     isp0            # Qlogic family
#controller     dpt0            # DPT Smartcache - See LINT for options!

#controller     adv0    at isa? port ? cam irq ?
#controller     adw0
#controller     bt0     at isa? port ? cam irq ?
#controller     aha0    at isa? port ? cam 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)

# Proprietary or custom CD-ROM Interfaces
device          wt0     at isa? port 0x300 bio irq 5 drq 1
device          mcd0    at isa? port 0x300 bio irq 10
device          matcd0  at isa? port 0x230 bio
device          scd0    at isa? port 0x230 bio

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1
device          psm0    at isa? tty irq 12

device          vga0    at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? tty

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? tty
#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 isa? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at isa? flags 0x31      # Advanced Power Management

# Serial (COM) ports & PCCARD modem etc.
device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3
device          sio2    at isa? disable port "IO_COM3" tty irq 5
device          sio3    at isa? disable port "IO_COM4" tty irq 9
device          sio4
device          sio5

# Parallel port
device          ppc0    at isa? port? flags 0x40 net irq 7
controller      ppbus0                  # Parallel port bus (required)
device          lpt0    at ppbus?       # Printer
device          plip0   at ppbus?       # TCP/IP over parallel
device          ppi0    at ppbus?       # Parallel port interface device
#controller     vpo0    at ppbus?       # Requires scbus and da0

# PCI Ethernet NICs.
device          fxp0            # Intel EtherExpress PRO/100B (82557, 82558)

# ISA & PCCARD Ethernet NICs.
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device          ed0     at isa? port 0x280 net irq 10 iomem 0xd8000
device          wlp0    at isa? port 0x300 net irq 11

# Sound
device          pcm0    at isa? port? tty irq 5 drq 1 flags 0x15
device          pca0    at isa? port IO_TIMER1 tty

# IBM Smart Capture PCMCIA card
#device         scc0

# Hitachi microcomputer system Speach Synthesizer card
#device         hss0
#device         hss1

# PCMCIA Joystick
#device         joy0    at isa? disable port "IO_GAME"


# 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
# ppp(8) uses tun instead of ppp device
pseudo-device   ppp     1       # Kernel PPP
pseudo-device   tun     1       # Packet tunnel
pseudo-device   disc    1
pseudo-device   pty     16      # Pseudo-ttys (telnet etc)
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   vn              # Vnode driver (turns a file into a device)
pseudo-device   speaker

#
# Enable the kernel debugger.
#
options         DDB

pseudo-device   bpfilter 4      #Berkeley packet filter

controller      uhci0
controller      ohci0
controller      usb0
device          ugen0
device          uhid0
device          ums0


--
Paul



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?Pine.BSF.4.21.0001241718300.9770-100000>