Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Fbsd8

Waitman Gobble wrote:

On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble gobble...@gmail.comwrote:


Hi,

I have a PCI Express card with VIA VL800 chipset which seems to work OK
with a Seagate drive, so I presume the interface is working.

If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card,
the display shows messages about the SanDisk device, appears to properly
identify it, and with like 'querying ...' slots on the card reader, which
all fail - (there are no cards in the reader). Then the machine sails into
outerspace, kind of just sits there until (perhaps) the end of time, or
until I kill the power. It never gets the network interface up, so no ssh.

It would be great to be able to paste the log here but when I reboot there
is nothing about the activity in the log, it's like the entire boot process
never happened.

Anyone have any experience with this card reader? I appreciate any
suggestions or tips.

Below is pertinent system information.

Thank you,


# uname -a
FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r245537:
Thu Jan 17 22:10:56 PST 2013 
r...@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX
amd64

kernel built with:

deviceahci# AHCI-compatible SATA controllers
deviceuhci# UHCI PCI-USB interface
deviceohci# OHCI PCI-USB interface
deviceehci# EHCI PCI-USB interface (USB 2.0)
devicexhci# XHCI PCI-USB interface (USB 3.0)

pciconf output:

xhci0@pci0:2:0:0:class=0x0c0330 card=0x34321106 chip=0x34321106
rev=0x03 hdr=0x00
vendor = 'VIA Technologies, Inc.'
class  = serial bus
subclass   = USB

interesting log entries:

Jan 17 23:10:48 kamira kernel: usbus0: 5.0Gbps Super Speed USB v3.0

Jan 17 23:11:32 kamira kernel: ugen0.3: Seagate at usbus0
Jan 17 23:11:32 kamira kernel: umass1: Seagate FA GoFlex Desk, class 0/0,
rev 3.00/1.00, addr 2 on usbus0
Jan 17 23:11:32 kamira kernel: da1 at umass-sim1 bus 1 scbus6 target 0 lun
0
Jan 17 23:11:32 kamira kernel: da1: Seagate FA GoFlex Desk 0D0B Fixed
Direct Access SCSI-0 device
Jan 17 23:11:32 kamira kernel: da1: 400.000MB/s transfers
Jan 17 23:11:32 kamira kernel: da1: 2861588MB (732566645 4096 byte
sectors: 255H 63S/T 45600C)


--
Waitman Gobble
San Jose California USA
510-830-7975







After experimenting a bit,

A follow up, when I plug the device in after booting it's no problem.
nothing bad happens.

Jan 18 20:58:20 kamira kernel: ugen0.4 (: SanDisk at usbus0
Jan 18 20:58:20 kamira kernel: umass2: Bulk-In, Bulk-Out, Interface on
usbus0
Jan 18 20:58:20 kamira kernel: umass2:  SCSI over Bulk-Only; quirks = 0x4000
Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7
Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun 0
Jan 18 20:58:20 kamira kernel: da2: SanDisk uSD SDDR-289 1.00 Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da2: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da2: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da3 at umass-sim2 bus 2 scbus7 target 0 lun 1
Jan 18 20:58:20 kamira kernel: da3: SanDisk MS SDDR-289 1.00 Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da3: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da3: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da4 at umass-sim2 bus 2 scbus7 target 0 lun 2
Jan 18 20:58:20 kamira kernel: da4: SanDisk SD SDDR-289 1.00 Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da4: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da4: Attempt to query device size failed:
NOT READY, Medium not present
Jan 18 20:58:20 kamira kernel: da5 at umass-sim2 bus 2 scbus7 target 0 lun 3
Jan 18 20:58:20 kamira kernel: da5: SanDisk CF SDDR-289 1.00 Removable
Direct Access SCSI-0 device
Jan 18 20:58:20 kamira kernel: da5: 400.000MB/s transfers
Jan 18 20:58:20 kamira kernel: da5: Attempt to query device size failed:
NOT READY, Medium not present



when i do a shutdown now, it takes 9:51-9:57 about 6 minutes to disappear
from ping and shut down, then it finally comes back up 10:12, so 15
minutes.

So reboot = 21 minutes.

While it's not the end of time scenario, something is hanging up this
machine on boot up and shutdown, with that device...

If anyone has a pointer or suggestion I totally appreciate it! definitely
need this machine to boot/shutdown much faster!

Thank you,




I did google lookup on SanDisk uSD SDDR-289, this is a external 4 slot 
sd card reader that is usb 3 ready and usb 2 compatible.


If I understand your post above correctly you can boot your Freebsd 
system from internal disk or from external usb disk with this external 
sd card reader plugged in but empty of sd memory cards.


The problem is you want to boot off of a sd memory card you have plugged 
into the external sd card reader. And when you do it takes for ever to 
boot up.



Re: laptop fan control via FreeBSD

2013-01-19 Thread Fabian Keil
Xavier xavierfreebsdquesti...@gmail.com wrote:

 Is there any way to control the on and off the fan on a laptop using FreeBSD?

It depends on the laptop. On mine it works:

fk@r500 ~ $sysctl -ad | grep fan
dev.acpi_ibm.0.fan_speed: Fan speed
dev.acpi_ibm.0.fan_level: Fan level
dev.acpi_ibm.0.fan: Fan enable

Fabian


signature.asc
Description: PGP signature


Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Joe Altman
On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote:
 On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble gobble...@gmail.comwrote:
 
  Hi,
 
 I have a PCI Express card with VIA VL800 chipset which seems to work
 OK with a Seagate drive, so I presume the interface is working.

I think my question is relevant:

Does the working drive mean that you have the proper USB bits in your
kernel?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

19.5.1 Configuration
If you use a custom kernel, be sure that the following lines are present
in your kernel configuration file:

device scbus ==
device da==
device pass  +=
device uhci
device ohci
device ehci
device usb
device umass ==

I don't see them mentioned below.

  If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card,
  the display shows messages about the SanDisk device, appears to properly
  identify it, and with like 'querying ...' slots on the card reader, which
  all fail - (there are no cards in the reader). Then the machine sails into
  outerspace, kind of just sits there until (perhaps) the end of time, or
  until I kill the power. It never gets the network interface up, so no ssh.

  kernel built with:
 
  deviceahci# AHCI-compatible SATA controllers
  deviceuhci# UHCI PCI-USB interface
  deviceohci# OHCI PCI-USB interface
  deviceehci# EHCI PCI-USB interface (USB 2.0)
  devicexhci# XHCI PCI-USB interface (USB 3.0)

General question:

The man page is ambiguous to me; does it mean that one only needs xhci
for all three versions, or must one specify all? 

DESCRIPTION
 The xhci driver provides support for the USB eXtensible Host
 Controller Interface, which allows use of USB 1.0, 2.0 and 3.0
 devices on the same USB port.

Such that xhci can handle *all* such USB devices?

Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a
path to resolving the issue?

Regards,

Joe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Safe way to repair corrupted GPT partition table?

2013-01-19 Thread Bob Willcox
On Sat, Jan 19, 2013 at 07:25:09AM +0700, Erich Dollansky wrote:
 Hi,
 
 On Fri, 18 Jan 2013 14:08:25 -0600
 Bob Willcox b...@immure.com wrote:
 
  Is there a way to repair a GPT partition table that has gotten
  corrupted (following a system hang during heavy I/O to a ZFS
  filesystem)?
  
 I would use a hex editor. Of course, try it out on another disk before
 working on that disk. You can even copy the data with dd from the other
 disk after you are sure it will work. Of course, the size must match or
 must be made matching.
 
 Ok, it is not a safe way but it is a working way.

Have to say I was hoping that there was some programatic way to do this.
Certainly if I go down this path I'll have to practice on a disk that doesn't
contain data that I care about. Getting the size right as this is the only
disk of this size I have. (Actually, it's an Areca RAID 5 Volume Set.)

Thanks,
Bob

 
 Erich

-- 
Bob Willcox| LIVING YOUR LIFE:
b...@immure.com |A task so difficult, it has never been attempted before.
Austin, TX |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Safe way to repair corrupted GPT partition table?

2013-01-19 Thread Bob Willcox
On Fri, Jan 18, 2013 at 07:40:59PM -0500, ill...@gmail.com wrote:
 On 18 January 2013 15:08, Bob Willcox b...@immure.com wrote:
  Is there a way to repair a GPT partition table that has gotten corrupted
  (following a system hang during heavy I/O to a ZFS filesystem)?
 
  I now get these errors whenever I boot the system:
 
  GEOM: da0: corrupt or invalid GPT detected.
  GEOM: da0: GPT rejected -- may not be recoverable.
 
  Fortunately, my ZFS filesystem on the disk (actually a RAID 5 array on a
  ARC-1223 adapter) still mounts and seems to be ok. There is only one 
  partition
  on the disk (the ZFS one) and it covered the entire disk so restoring it
  should be easy. Question is, is there a way to do this and will it be safe 
  (I
  wouldn't want to trash the filesystem in the partion).
 
  A 'gpart show da0' gives this result:
 
  gpart: No such geom: da0.
 
  This is on a 9.1-STABLE system:
 
  FreeBSD rancor.immure.com 9.1-STABLE FreeBSD 9.1-STABLE #2 r245176: Tue Jan 
   8 15:45:29 CST 2013 
  b...@amidala.immure.com:/usr/obj/usr/src/sys/AMIDALA  amd64
 
 
  Any help would be much appreciated.
 
 
 Is the whole disk in the zfs pool, or is this a
 single partition covering the whole disk that
 has been placed in the zfs pool?

It is a single partition covering the entire disk.

 
 Have you tried to repair it with the zfs tools?

No, not sure what to try. I'm fairly new to zfs.

Thanks,
Bob

 
 -- 
 --

-- 
Bob Willcox| LIVING YOUR LIFE:
b...@immure.com |A task so difficult, it has never been attempted before.
Austin, TX |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Staff Enquiry (Reservation).

2013-01-19 Thread MrsCaroline

Greetings from Inter-Travels Ltd
 
Hello,
I am Mrs Caroline campbell,I am making enquiry on behalf of a group of school 
staffs (Lecturers) that are coming to your country for a leave,tour,relaxation 
visit and academic related activities.

This group of staffs are 12 guest in numbers.

number of rooms needed: 12
type of rooms: 12 executive rooms
Arrival Scheduled date: February 21st 2013
departure: February 30th 2013

This team also requested that we prepare a tour package for them .

Kindly let me know if you would be able to assist us with this group booking 
and arrangements.

I will appreciate your swift response ,

Thanks and God bless you,

Best Regard,
Mrs Caroline campbell
Inter-Travels Ltd



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: laptop fan control via FreeBSD

2013-01-19 Thread Xavier
On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:

Hi Fabian,

 Xavier xavierfreebsdquesti...@gmail.com wrote:

  Is there any way to control the on and off the fan on a laptop using 
  FreeBSD?

 It depends on the laptop. On mine it works:

 fk@r500 ~ $sysctl -ad | grep fan
 dev.acpi_ibm.0.fan_speed: Fan speed
 dev.acpi_ibm.0.fan_level: Fan level
 dev.acpi_ibm.0.fan: Fan enable


My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
Because, my BIOS don't support these aparameters ? Another answer ?

Thanks, see you !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: laptop fan control via FreeBSD

2013-01-19 Thread Polytropon
On Sat, 19 Jan 2013 16:55:23 +0100, Xavier wrote:
 On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
 
 Hi Fabian,
 
  Xavier xavierfreebsdquesti...@gmail.com wrote:
 
   Is there any way to control the on and off the fan on a laptop using 
   FreeBSD?
 
  It depends on the laptop. On mine it works:
 
  fk@r500 ~ $sysctl -ad | grep fan
  dev.acpi_ibm.0.fan_speed: Fan speed
  dev.acpi_ibm.0.fan_level: Fan level
  dev.acpi_ibm.0.fan: Fan enable
 
 
 My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
 Because, my BIOS don't support these aparameters ? Another answer ?

For laptops, you usually load a kernel module for interfacing
with the specific ACPI functions, like acpi_ibm.ko. There are
several others, but see man acpi_ibm for some impressions.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: laptop fan control via FreeBSD

2013-01-19 Thread Fabian Keil
Xavier xavierfreebsdquesti...@gmail.com wrote:

 On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
 
 Hi Fabian,
 
  Xavier xavierfreebsdquesti...@gmail.com wrote:
 
   Is there any way to control the on and off the fan on a laptop using 
   FreeBSD?
 
  It depends on the laptop. On mine it works:
 
  fk@r500 ~ $sysctl -ad | grep fan
  dev.acpi_ibm.0.fan_speed: Fan speed
  dev.acpi_ibm.0.fan_level: Fan level
  dev.acpi_ibm.0.fan: Fan enable
 
 
 My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
 Because, my BIOS don't support these aparameters ? Another answer ?

acpi_ibm(4) is a kernel module that isn't loaded by default.

Depending on your hardware you may have to kldload a different
module. You could try:

ls /boot/kernel/acpi_*.ko

and then kldload the module you think makes sense for your hardware.
Note that not all modules have fan control, though.

As I only use IBM and Lenovo laptops I'm not familiar with
the other modules.

Fabian


signature.asc
Description: PGP signature


Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Waitman Gobble
On Sat, Jan 19, 2013 at 6:42 AM, Joe Altman free...@chthonixia.net wrote:

 On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote:
  On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble gobble...@gmail.com
 wrote:
 
   Hi,
 
  I have a PCI Express card with VIA VL800 chipset which seems to work
  OK with a Seagate drive, so I presume the interface is working.

 I think my question is relevant:

 Does the working drive mean that you have the proper USB bits in your
 kernel?

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

 19.5.1 Configuration
 If you use a custom kernel, be sure that the following lines are present
 in your kernel configuration file:

 device scbus ==
 device da==
 device pass  +=
 device uhci
 device ohci
 device ehci
 device usb
 device umass ==

 I don't see them mentioned below.

   If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0
 card,
   the display shows messages about the SanDisk device, appears to
 properly
   identify it, and with like 'querying ...' slots on the card reader,
 which
   all fail - (there are no cards in the reader). Then the machine sails
 into
   outerspace, kind of just sits there until (perhaps) the end of time, or
   until I kill the power. It never gets the network interface up, so no
 ssh.

   kernel built with:
  
   deviceahci# AHCI-compatible SATA controllers
   deviceuhci# UHCI PCI-USB interface
   deviceohci# OHCI PCI-USB interface
   deviceehci# EHCI PCI-USB interface (USB 2.0)
   devicexhci# XHCI PCI-USB interface (USB 3.0)

 General question:

 The man page is ambiguous to me; does it mean that one only needs xhci
 for all three versions, or must one specify all?

 DESCRIPTION
  The xhci driver provides support for the USB eXtensible Host
  Controller Interface, which allows use of USB 1.0, 2.0 and 3.0
  devices on the same USB port.

 Such that xhci can handle *all* such USB devices?

 Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a
 path to resolving the issue?

 Regards,

 Joe

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



Hi,

yes i have those options in the kernel config

# ATA/SCSI peripherals
device  scbus   # SCSI bus (required for ATA/SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct ATA/SCSI
access)
device  ses # Enclosure Services (SES and SAF-TE)
device  ctl # CAM Target Layer

# USB support
options USB_DEBUG   # enable debug msgs
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# EHCI PCI-USB interface (USB 2.0)
device  xhci# XHCI PCI-USB interface (USB 3.0)
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices (needs
netgraph)
device  uhid# Human Interface Devices
device  ukbd# Keyboard
#device ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
#device urio# Diamond Rio 500 MP3 player

I have turned off usb printer, double bulk pipe device, and all the usb
wireless and ethernet interfaces.

# camcontrol devlist
WDC WD1002FAEX-00Y9A0 05.01D05   at scbus0 target 0 lun 0 (ada0,pass0)
ATAPI DVD A  DH16A6S YA17at scbus0 target 1 lun 0 (pass1,cd0)
hp CDDVDW SH-216BB HE30  at scbus1 target 1 lun 0 (pass2,cd1)
SanDisk uSD SDDR-289 1.00at scbus5 target 0 lun 0 (pass3,da0)
SanDisk MS SDDR-289 1.00 at scbus5 target 0 lun 1 (pass4,da1)
SanDisk SD SDDR-289 1.00 at scbus5 target 0 lun 2 (pass5,da2)
SanDisk CF SDDR-289 1.00 at scbus5 target 0 lun 3 (pass6,da3)
WD My Book 1110 1030 at scbus6 target 0 lun 0 (pass7,da4)
WD Virtual CD 1110 1030  at scbus6 target 0 lun 1 (pass8,cd2)
WD SES Device 1030   at scbus6 target 0 lun 2 (ses0,pass9)


I am not trying to boot from the memory stick, just boot when the usb
card reader is plugged into the usb3 interface. When it is not plugged in
it's fast reboot, when it's plugged in it takes like 20 minutes.

The SanDisk device is supposedly usb3.0, but i agree it's curious thing
about the 1.0 listed in the camcontrol device list...

I see what you are saying about the manual. AFAIK you need uhci/ohci for
usb 1.0, ehci for 2.0 and xhci for 3.0, but i have not 

Re: laptop fan control via FreeBSD

2013-01-19 Thread Xavier
On Sat, Jan 19, 2013 at 05:04:36PM +0100, Polytropon wrote:

Hi Polytropon,

 On Sat, 19 Jan 2013 16:55:23 +0100, Xavier wrote:
  On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
 
  Hi Fabian,
 
   Xavier xavierfreebsdquesti...@gmail.com wrote:
  
Is there any way to control the on and off the fan on a laptop using 
FreeBSD?
  
   It depends on the laptop. On mine it works:
  
   fk@r500 ~ $sysctl -ad | grep fan
   dev.acpi_ibm.0.fan_speed: Fan speed
   dev.acpi_ibm.0.fan_level: Fan level
   dev.acpi_ibm.0.fan: Fan enable
  
 
  My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
  Because, my BIOS don't support these aparameters ? Another answer ?

 For laptops, you usually load a kernel module for interfacing
 with the specific ACPI functions, like acpi_ibm.ko. There are
 several others, but see man acpi_ibm for some impressions.


Yes, but I have an acer Aspire 5634WLMi, and:

% ls /boot/kernel/acpi*
/boot/kernel/acpi_asus.ko   /boot/kernel/acpi_panasonic.ko
/boot/kernel/acpi_asus.ko.symbols
/boot/kernel/acpi_panasonic.ko.symbols
/boot/kernel/acpi_dock.ko   /boot/kernel/acpi_sony.ko
/boot/kernel/acpi_dock.ko.symbols
/boot/kernel/acpi_sony.ko.symbols
/boot/kernel/acpi_fujitsu.ko/boot/kernel/acpi_toshiba.ko
/boot/kernel/acpi_fujitsu.ko.symbols
/boot/kernel/acpi_toshiba.ko.symbols
/boot/kernel/acpi_hp.ko /boot/kernel/acpi_video.ko
/boot/kernel/acpi_hp.ko.symbols
/boot/kernel/acpi_video.ko.symbols
/boot/kernel/acpi_ibm.ko/boot/kernel/acpi_wmi.ko
/boot/kernel/acpi_ibm.ko.symbols/boot/kernel/acpi_wmi.ko.symbols

I don't have an acer kernel module for ACPI.

Thanks, see you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: laptop fan control via FreeBSD

2013-01-19 Thread Xavier
On Sat, Jan 19, 2013 at 05:07:07PM +0100, Fabian Keil wrote:

Hi Fabian,

 Xavier xavierfreebsdquesti...@gmail.com wrote:

  On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote:
 
  Hi Fabian,
 
   Xavier xavierfreebsdquesti...@gmail.com wrote:
  
Is there any way to control the on and off the fan on a laptop using 
FreeBSD?
  
   It depends on the laptop. On mine it works:
  
   fk@r500 ~ $sysctl -ad | grep fan
   dev.acpi_ibm.0.fan_speed: Fan speed
   dev.acpi_ibm.0.fan_level: Fan level
   dev.acpi_ibm.0.fan: Fan enable
  
 
  My output of 'sysctl -ad | grep fan' don't show these parameters. Why ?
  Because, my BIOS don't support these aparameters ? Another answer ?

 acpi_ibm(4) is a kernel module that isn't loaded by default.

 Depending on your hardware you may have to kldload a different
 module. You could try:

 ls /boot/kernel/acpi_*.ko

Yes, but I hace an acer ...

Thanks, see you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Waitman Gobble
On Sat, Jan 19, 2013 at 9:05 AM, Waitman Gobble gobble...@gmail.com wrote:



 On Sat, Jan 19, 2013 at 6:42 AM, Joe Altman free...@chthonixia.netwrote:

 On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote:
  On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble gobble...@gmail.com
 wrote:
 
   Hi,
 
  I have a PCI Express card with VIA VL800 chipset which seems to work
  OK with a Seagate drive, so I presume the interface is working.

 I think my question is relevant:

 Does the working drive mean that you have the proper USB bits in your
 kernel?

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

 19.5.1 Configuration
 If you use a custom kernel, be sure that the following lines are present
 in your kernel configuration file:

 device scbus ==
 device da==
 device pass  +=
 device uhci
 device ohci
 device ehci
 device usb
 device umass ==

 I don't see them mentioned below.

   If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0
 card,
   the display shows messages about the SanDisk device, appears to
 properly
   identify it, and with like 'querying ...' slots on the card reader,
 which
   all fail - (there are no cards in the reader). Then the machine sails
 into
   outerspace, kind of just sits there until (perhaps) the end of time,
 or
   until I kill the power. It never gets the network interface up, so no
 ssh.

   kernel built with:
  
   deviceahci# AHCI-compatible SATA controllers
   deviceuhci# UHCI PCI-USB interface
   deviceohci# OHCI PCI-USB interface
   deviceehci# EHCI PCI-USB interface (USB 2.0)
   devicexhci# XHCI PCI-USB interface (USB 3.0)

 General question:

 The man page is ambiguous to me; does it mean that one only needs xhci
 for all three versions, or must one specify all?

 DESCRIPTION
  The xhci driver provides support for the USB eXtensible Host
  Controller Interface, which allows use of USB 1.0, 2.0 and 3.0
  devices on the same USB port.

 Such that xhci can handle *all* such USB devices?

 Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a
 path to resolving the issue?

 Regards,

 Joe

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



 Hi,

 yes i have those options in the kernel config

 # ATA/SCSI peripherals
 device  scbus   # SCSI bus (required for ATA/SCSI)
 device  ch  # SCSI media changers
 device  da  # Direct Access (disks)
 device  sa  # Sequential Access (tape etc)
 device  cd  # CD
 device  pass# Passthrough device (direct ATA/SCSI
 access)
 device  ses # Enclosure Services (SES and SAF-TE)
 device  ctl # CAM Target Layer

 # USB support
 options USB_DEBUG   # enable debug msgs

 device  uhci# UHCI PCI-USB interface
 device  ohci# OHCI PCI-USB interface
 device  ehci# EHCI PCI-USB interface (USB 2.0)
 device  xhci# XHCI PCI-USB interface (USB 3.0)
 device  usb # USB Bus (required)
 #device udbp# USB Double Bulk Pipe devices (needs
 netgraph)
 device  uhid# Human Interface Devices
 device  ukbd# Keyboard
 #device ulpt# Printer
 device  umass   # Disks/Mass storage - Requires scbus and
 da
 device  ums # Mouse
 #device urio# Diamond Rio 500 MP3 player

 I have turned off usb printer, double bulk pipe device, and all the usb
 wireless and ethernet interfaces.

 # camcontrol devlist
 WDC WD1002FAEX-00Y9A0 05.01D05   at scbus0 target 0 lun 0 (ada0,pass0)
 ATAPI DVD A  DH16A6S YA17at scbus0 target 1 lun 0 (pass1,cd0)
 hp CDDVDW SH-216BB HE30  at scbus1 target 1 lun 0 (pass2,cd1)
 SanDisk uSD SDDR-289 1.00at scbus5 target 0 lun 0 (pass3,da0)
 SanDisk MS SDDR-289 1.00 at scbus5 target 0 lun 1 (pass4,da1)
 SanDisk SD SDDR-289 1.00 at scbus5 target 0 lun 2 (pass5,da2)
 SanDisk CF SDDR-289 1.00 at scbus5 target 0 lun 3 (pass6,da3)
 WD My Book 1110 1030 at scbus6 target 0 lun 0 (pass7,da4)
 WD Virtual CD 1110 1030  at scbus6 target 0 lun 1 (pass8,cd2)
 WD SES Device 1030   at scbus6 target 0 lun 2 (ses0,pass9)


 I am not trying to boot from the memory stick, just boot when the usb
 card reader is plugged into the usb3 interface. When it is not plugged in
 it's fast reboot, when it's plugged in it takes like 20 minutes.

 The SanDisk device is supposedly usb3.0, but i agree it's curious thing
 about the 1.0 listed in the camcontrol device list...

 I 

Re: Dependencies after port tree update

2013-01-19 Thread Ralf Mardorf
I now run the command with what options ever, don't remember, but it's  
compiling and every few hours I have to answer n/y to delete a file, but  
there aren't stops regarding to the configuration. I'm compiling since  
yesterday 17 or 18 o'clock, perhaps -8 hours where it might stopped  
regarding to such a question, when I didn't notice it. It's an Athlon  
dual-core 2.1GHz with 4GB RAM, since I didn't edit anything, I suspect  
just one job is running. 837 ports where found with 420 new versions. I  
wonder how long it will continue compiling.


:D

--
No good deed ever goes unpunished.
Einer guten Tat folgt die Strafe auf dem Fuße!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

problem building swt-devel

2013-01-19 Thread Robert Huff

[I've mailed the maintainer, java@, and ports@, and had either
no response or one which didn't help solve the problem.
questions@ is my last, best hope  ]

On a system running:

FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012  amd64 

I am trying to build x11-toolkits/swt-devel as a dependency for
another port.
If I compile using clang, I get:

 [exec] rc = (jint)((SWT_XREInitEmbedding)arg0)((nsILocalFile 
*)arg1, (nsILocalFile *)arg2, (nsIDirectoryServiceProvider *)arg3, 
(nsStaticModuleInfo const *)arg4, arg5);
 [exec]  ^
 [exec] ./xpcom.h:41:103: note: expanded from macro 'SWT_XREInitEmbedding'
 [exec] #define SWT_XREInitEmbedding nsresult (*)(nsILocalFile 
*,nsILocalFile *,nsIDirectoryServiceProvider *,nsStaticModuleInfo const 
*,PRUint32)
 [exec] 
  ^
 [exec] xpcom.cpp:58:15: error: expected ')'
 [exec] rc = (jint)((SWT_XREInitEmbedding)arg0)((nsILocalFile 
*)arg1, (nsILocalFile *)arg2, (nsIDirectoryServiceProvider *)arg3, 
(nsStaticModuleInfo const *)arg4, arg5);
 [exec] *** [xpcomxul.o] Error code 1 ^
 [exec] 
 [exec] 
 [exec] Stop in 
/data/port-work/usr/ports/x11-toolkits/swt-devel/work../xpcom.h:41:122: note: 
expanded from macro 'SWT_XREInitEmbedding'
 [exec] 
 [exec] #define SWT_XREInitEmbedding nsresult (*)(nsILocalFile 
*,nsILocalFile *,nsIDirectoryServiceProvider *,nsStaticModuleInfo const 
*,PRUint32)
 [exec] 
 ^
 [exec] xpcom.cpp:58:15: note: to match this '('
 [exec] rc = (jint)((SWT_XREInitEmbedding)arg0)((nsILocalFile 
*)arg1, (nsILocalFile *)arg2, (nsIDirectoryServiceProvider *)arg3, 
(nsStaticModuleInfo const *)arg4, arg5);
 [exec]  ^
 [exec] ./xpcom.h:41:42: note: expanded from macro 'SWT_XREInitEmbedding'
 [exec] #define SWT_XREInitEmbedding nsresult (*)(nsILocalFile 
*,nsILocalFile *,nsIDirectoryServiceProvider *,nsStaticModuleInfo const 
*,PRUint32)
 [exec]  ^
 [exec] xpcom.cpp:58:124: error: use of undeclared identifier 
'nsStaticModuleInfo'
 [exec] rc = (jint)((SWT_XREInitEmbedding)arg0)((nsILocalFile 
*)arg1, (nsILocalFile *)arg2, (nsIDirectoryServiceProvider *)arg3, 
(nsStaticModuleInfo const *)arg4, arg5);
 [exec] 
  ^
 [exec] 4 errors generated.

BUILD FAILED
/data/port-work/usr/ports/x11-toolkits/swt-devel/work/build.xml:62: exec 
returned: 1


With gcc (either 4.2 or 4.6) it's:

===  Building for swt-devel-3.7.1_1,1
Buildfile: /data/port-work/usr/ports/x11-toolkits/swt-devel/work/build.xml

init:

build.classes:
[javac] /data/port-work/usr/ports/x11-toolkits/swt-devel/work/build.xml:32: 
warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 594 source files to 
/data/port-work/usr/ports/x11-toolkits/swt-devel/work/classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.4
[javac] 1 warning

build.nativeLibraries:
 [exec] Can't find 
/data/port-work/usr/ports/x11-toolkits/swt-devel/work/../../components/external.idl
 [exec] Building SWT OS=freebsd SWT ARCH=amd64
 [exec] libgnomeui-2.0 found, compiling SWT program support using GNOME
 [exec] Cairo found, compiling SWT support for the cairo graphics library.
 [exec] Using libxul for gecko support
 [exec] *** WebKit embedding support will not be compiled, causes build 
to fail.
 [exec] *** (temporary workaround until a better solution can be found)
 [exec] libjawt.so found, the SWT/AWT integration library will be compiled.
 [exec] Building SWT/GTK+ for freebsd amd64
 [exec] g++46 -o xpcomxul.o -O  -DSWT_VERSION=3738
-DMOZILLA_STRICT_API=1  -fno-rtti  -fno-exceptions  -Wall  
-Wno-non-virtual-dtor  -fPIC  -I.  -I/usr/local/openjdk7/include  
-I/usr/local/openjdk7/include/freebsd  -DJNI64 -DNO__1NS_1InitXPCOM2 
-I/usr/local/include/nspr -DXPCOM_GLUE -I/usr/local/include/libxul   -c 
xpcom.cpp
 [exec] In file included from 
/usr/local/include/libxul/nsEmbedString.h:43:0,
 [exec]  from xpcom.h:19,
 [exec]  from xpcom_structs.h:12,
 [exec]  from xpcom.cpp:13:
 [exec] /usr/local/include/libxul/nsStringAPI.h:1101:3: error: 'char16_t' 
was not declared in this scope
 [exec] xpcom.cpp: In function 'jint 
Java_org_eclipse_swt_internal_mozilla_XPCOM__1Call__JI(JNIEnv*, jclass, 
jlong, jlong, jlong, jlong, jlong, jint)':
 [exec] xpcom.cpp:58:15: error: 

Re: Safe way to repair corrupted GPT partition table?

2013-01-19 Thread Warren Block

On Sat, 19 Jan 2013, Bob Willcox wrote:


On Sat, Jan 19, 2013 at 07:25:09AM +0700, Erich Dollansky wrote:

Hi,

On Fri, 18 Jan 2013 14:08:25 -0600
Bob Willcox b...@immure.com wrote:


Is there a way to repair a GPT partition table that has gotten
corrupted (following a system hang during heavy I/O to a ZFS
filesystem)?


I would use a hex editor. Of course, try it out on another disk before
working on that disk. You can even copy the data with dd from the other
disk after you are sure it will work. Of course, the size must match or
must be made matching.

Ok, it is not a safe way but it is a working way.


Have to say I was hoping that there was some programatic way to do this.
Certainly if I go down this path I'll have to practice on a disk that doesn't
contain data that I care about. Getting the size right as this is the only
disk of this size I have. (Actually, it's an Areca RAID 5 Volume Set.)


If the primary table at the start of the disk is okay, 'gpart recover' 
can copy it to the backup table at the end of the disk.  I thought it 
would do that the other way around also.  Neither table should be 
affected by a power failure, as they are almost never written.


How it got into a state where it could be recognized as GPT but not 
recoverable, don't know.  Could be the disk device (ada0) was given to 
ZFS rather than the partition (ada0p1).  ZFS is supposed to leave some 
space at the end of the disk to allow for slightly differing nominal 
disk sizes, which could have left the backup GPT table intact.


ZFS has its own metadata, so it's not necessary to partition a drive 
with GPT unless you want to put more than one partition on it, or maybe 
control the size of space used.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: svn-export Re: svn bdb checkout?

2013-01-19 Thread Warren Block

On Sat, 19 Jan 2013, Xyne wrote:


svn-export has now been rewritten in Python 3. Here's a quick list of
changes/features:

* threads have been replaced with forks (and remain optional)
* new option to set svn binary
* new option to generate shell script instead of using internal calls
* no subshell invocation
* only svn binary is called directly

I've only done some quick testing. Let me know how it works.


Very cool!  It will be a bit before I can try it, but hopefully others 
will also.


Oh, and the URL: http://xyne.archlinux.ca/projects/svn-export/

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dependencies after port tree update

2013-01-19 Thread Ralf Mardorf
Pff! It's still compiling :S, but I get back more and more functionality,  
in the meanwhile I learned Old Greek.
If there would be packages available for 9.1, I would have learned how to  
mix packages and ports instead.


Is it foreseeable, when there will be packages available? OTOH I read that  
packages will not be updated. Is this true?


On Fri, 18 Jan 2013 17:20:40 +0100, Polytropon free...@edvax.de wrote:

Andra moi ennepe, Mousa, ...


http://www.utexas.edu/cola/centers/lrc/eieol/grkol-3-R.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


clobbered boot block

2013-01-19 Thread Chuck Bacon
I used dd to cover a whole new disk; bad idea.
I installed 9.1-R, and the install CD said all was OK.
Yet I was  unable to mount any of it.
fdisk seemed happy, and could read and write.
bsdlabel returned unable to get correct path for ada0s1 (same for ada01).

--  uname -a  --
FreeBSD tomato.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue. Jan 3
07:46:30 UTC 2012 r...@farrell.cse buffalo.edu:
/usr/obj/usr/src/sys/GENERIC amd64

  Hearty thanks to all,  Chuck Bacon c...@cape.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Safe way to repair corrupted GPT partition table?

2013-01-19 Thread Erich Dollansky
Hi,

On Sat, 19 Jan 2013 08:59:07 -0600
Bob Willcox b...@immure.com wrote:

 On Sat, Jan 19, 2013 at 07:25:09AM +0700, Erich Dollansky wrote:
  Hi,
  
  On Fri, 18 Jan 2013 14:08:25 -0600
  Bob Willcox b...@immure.com wrote:
  
   Is there a way to repair a GPT partition table that has gotten
   corrupted (following a system hang during heavy I/O to a ZFS
   filesystem)?
   
  I would use a hex editor. Of course, try it out on another disk
  before working on that disk. You can even copy the data with dd
  from the other disk after you are sure it will work. Of course, the
  size must match or must be made matching.
  
  Ok, it is not a safe way but it is a working way.
 
 Have to say I was hoping that there was some programatic way to do
 this. Certainly if I go down this path I'll have to practice on a
 disk that doesn't contain data that I care about. Getting the size
 right as this is the only disk of this size I have. (Actually, it's
 an Areca RAID 5 Volume Set.)
 
this does not make it easier. What really helps is to copy first the
first the data you want to edit to a file and work then with the copy
of the file.

This enables you to copy the original back as often as you need.
Just make sure that you do not lose this copy. This will be the most
important file of all your files.

I used a normal thumb drive to play around before I went once to a hard
disk. Ok, there is a bit of sweat on your fingers, but the rest will be
ok.

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


bsdinstall(8) line drawing characters

2013-01-19 Thread David Lazaro Saz
Hi,

I've tried to find an answer to this question without success.

Why does bsdinstall(8) use ASCII characters for drawing lines instead of line 
drawing characters as the old sysinstall(8) did?

Thanks,

David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dependencies after port tree update

2013-01-19 Thread Ralf Mardorf
Compiling was finished, when I woke up at around 7 o'clock. Everything  
seems to be ok, but I didn't reboot until now.


If everything should be ok after rebooting, I'll add all the steps to a  
thread in the forums later today or tomorrow,  
http://forums.freebsd.org/showthread.php?p=205453#post205453 .


Thank you all for the help.

The last command I run was
root@freebsd:/usr/ports/ports-mgmt/portmaster # portmaster --no-confirm -y  
-G `cat ~/installed-port-list`


From time to time I manually had to answer yes, when I was asked if a file  
should be deleted.


Regards,
Ralf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202

2013-01-19 Thread Waitman Gobble
After fiddling with it I don't think the CAM status CCB errors in my
previous post were actually related to the SanDisk device, but I am sure
when it's plugged in there's a 20 minute reboot cycle. And that's a problem.

I think it's maybe because the device I have needs some quirks stuff. i'll
check it out.

Somebody suggested I post in the freebsd-usb group,  sounds like a better
idea! Off I go/

I did get the multi card dumper daemon working. It's good for people who
dump alot of cards.
https://github.com/waitman/beenie



-- 
Waitman Gobble
San Jose California USA
510-830-7975
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org