Re: FreeBSD and UDF

2016-02-28 Thread Harry Schmalzbauer
 Bezüglich Eugene M. Zheganin's Nachricht vom 25.02.2016 13:17 (localtime):
> Hi,
>
> recenlty I needed to mount the Windows 2012 R2 iso image, which pappened
> to ba an UDF image. After mdconfiging it and attempting to mount I got:
>
> # mount -t udf /dev/md1 cdrom01
> mount_udf: /dev/md1: Invalid argument
>
> udf is in kernel. Is UDF filesystem supported in FreeBSD ? I run
> 10.3-PRERELEASE r294405.

I'ts a matter of the UDF-Version.
I'm no expert, just missing the ability to quickly look into common
flowting DVD discs, which doesn't work so I asked ddg.
It seems today's DVD's are all UDF2 – FreeBSD has only support for UDF
1.02: https://people.freebsd.org/~scottl/udf/

Blu-ray's seem to be in UDF2.5:
https://lists.freebsd.org/pipermail/freebsd-fs/2015-July/021528.html
There's also the UDF2.0 FreeBSD-10-driver mentioned:
https://github.com/williamdevries/UDF

Hope this helps, unfortunately you'll have to enable UDF2 support on
your own.

-Harry


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


problems with powerd and cpufreq on AMD Quad-Core A8-4555M

2016-02-28 Thread John

Hello list,

I'm using 10.3-BETA3 #0 r296148 compiled today on on AMD Quad-Core
A8-4555M. I have the following in /etc/rc.d:

powerd_enable="YES"

I have cpufreq in the kernel config, unmodified GENERIC apart from adding a
line for amdtemp.

# CPU frequency control
device  cpufreq

Why is it that on boot I get the following warning:

powerd: no cpufreq(4) support -- aborting: No such file or directory

Does powerd not work with AMD ? Some debugging info:

root@onion:~ # sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
hw.machine: amd64
hw.model: AMD A8-4555M APU with Radeon(tm) HD Graphics   
hw.ncpu: 4

hw.machine_arch: amd64

root@onion:~ # sysctl debug.hwpstate_verbose="1"
debug.hwpstate_verbose: 0 -> 1
root@onion:~ # powerd -v
powerd: no cpufreq(4) support -- aborting: No such file or directory

thanks,
--
John 
___

freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: problems with powerd and cpufreq on AMD Quad-Core A8-4555M

2016-02-28 Thread John

Hello list, I've been able to get some more info. cc'd to
freebsd-performance@ which on 2nd thoughts might have been the better 
place to ask... 


[ powerd: no cpufreq(4) support -- aborting: No such file or directory ]

Right, I've found that what this chip has is AMD Turbo Core. So really
my question is, can powerd make use of Turbo Core? Here's some sysctl
output:

# sysctl -a | grep dev.cpu
dev.cpu.3.cx_usage: 100.00% 0.00% last 79194us
dev.cpu.3.cx_lowest: C1
dev.cpu.3.cx_supported: C1/1/0 C2/2/100
dev.cpu.3.temperature: 47.6C
dev.cpu.3.%parent: acpi0
dev.cpu.3.%pnpinfo: _HID=none _UID=0
dev.cpu.3.%location: handle=\_PR_.C003
dev.cpu.3.%driver: cpu
dev.cpu.3.%desc: ACPI CPU
dev.cpu.2.cx_usage: 100.00% 0.00% last 45553us
dev.cpu.2.cx_lowest: C1
dev.cpu.2.cx_supported: C1/1/0 C2/2/100
dev.cpu.2.temperature: 47.6C
dev.cpu.2.%parent: acpi0
dev.cpu.2.%pnpinfo: _HID=none _UID=0
dev.cpu.2.%location: handle=\_PR_.C002
dev.cpu.2.%driver: cpu
dev.cpu.2.%desc: ACPI CPU
dev.cpu.1.cx_usage: 100.00% 0.00% last 40us
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_supported: C1/1/0 C2/2/100
dev.cpu.1.temperature: 47.6C
dev.cpu.1.%parent: acpi0
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%location: handle=\_PR_.C001
dev.cpu.1.%driver: cpu
dev.cpu.1.%desc: ACPI CPU
dev.cpu.0.cx_usage: 100.00% 0.00% last 17478us
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_supported: C1/1/0 C2/2/100
dev.cpu.0.temperature: 47.6C
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%location: handle=\_PR_.C000
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.%parent: 


thanks,
--
John 
___

freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


ahci-timeout regression in beta3

2016-02-28 Thread Harry Schmalzbauer
 Hello,

I have a remote machine with a probably defective ODD, but until r294989
(from Jan 28th) I could boot with just these warnings:
(cd1:ahcich1:0:0:0): READ(10). CDB: 28 00 00 38 85 e0 00 00 01 00
(cd1:ahcich1:0:0:0): CAM status: SCSI Status Error
(cd1:ahcich1:0:0:0): SCSI status: Check Condition
(cd1:ahcich1:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read
error)
(cd1:ahcich1:0:0:0): Error 5, Unretryable error
(cd1:ahcich1:0:0:0): cddone: got error 0x5 back
…

beta3 doesn't boot anymore, it's hanging with ahci-timeouts:
ahcich2: Timeout on slot 11 port 0
ahcich2: is 0008 cs  ss  rs 0800 tfd 40 derr
 cmd 0004cb17
(ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 01 ae a3 50 40 5d 01 00
00 00 00
...
(aprobe0:ahcich2:0:0:0) ATA_IDENTIFY. ACB eec 00 00 00 00 40 00 00 00 00
00 00
(aprobe0:ahcich2:0:0:0) CAM status: Command timeout
(aprobe0:ahcich2:0:0:0) Error 5, Retry was blocked
ada1 detached
...
The numbers (first ACB) and also the channel varies from time to time.

I couldn't track down the revision yet, checked r295124 and r295131 so far.
Just noticed that probing differs between working (294989) and and
non-working revisoin (r296074): The latter attaches cd past ada, the
former (working) probes cd first.

Will see to find out more until next weekend.
Any hints welcome.

Thanks,

-Harry

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

Re: problems with powerd and cpufreq on AMD Quad-Core A8-4555M

2016-02-28 Thread Dewayne Geraghty
Thanks John, I have cpufreq added via the boot/loader.conf which always
works. However, over the weekend, I was testing some boot changes and tried
to add cpufreq AFTER the kernel - unsuccessfully.  This was amd64 10.3Beta1
and 10.3Beta3.

A workaround (for you) might be to remove it from the kernel and load
cpufreq via loader.conf?

I have some other problems (with usb nic's axge,axe) but I'll pursue if I
get time for enough info for a PR
Regards.


On 29 February 2016 at 02:18, John  wrote:

> Hello list,
>
> I'm using 10.3-BETA3 #0 r296148 compiled today on on AMD Quad-Core
> A8-4555M. I have the following in /etc/rc.d:
>
> powerd_enable="YES"
>
> I have cpufreq in the kernel config, unmodified GENERIC apart from adding a
> line for amdtemp.
>
> # CPU frequency control
> device  cpufreq
>
> Why is it that on boot I get the following warning:
>
> powerd: no cpufreq(4) support -- aborting: No such file or directory
>
> Does powerd not work with AMD ? Some debugging info:
>
> root@onion:~ # sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
> hw.machine: amd64
> hw.model: AMD A8-4555M APU with Radeon(tm) HD Graphics   hw.ncpu: 4
> hw.machine_arch: amd64
>
> root@onion:~ # sysctl debug.hwpstate_verbose="1"
> debug.hwpstate_verbose: 0 -> 1
> root@onion:~ # powerd -v
> powerd: no cpufreq(4) support -- aborting: No such file or directory
>
> thanks,
> --
> John ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: problems with powerd and cpufreq on AMD Quad-Core A8-4555M

2016-02-28 Thread John

On Mon, Feb 29, 2016 at 08:29:14AM +1100, Dewayne Geraghty wrote:


Thanks John, I have cpufreq added via the boot/loader.conf which always
works. However, over the weekend, I was testing some boot changes and tried
to add cpufreq AFTER the kernel - unsuccessfully.  This was amd64 10.3Beta1
and 10.3Beta3.

A workaround (for you) might be to remove it from the kernel and load
cpufreq via loader.conf?

I have some other problems (with usb nic's axge,axe) but I'll pursue if I
get time for enough info for a PR


Hi Dewayne,

Thanks for looking at this. I modified loader.conf:

$ cat /boot/loader.conf
cpufreq_load="YES"

then recompiled the kernel and rebooted:

10.3-BETA3 #1 r296151

root@onion:~ # kldstat
Id Refs AddressSize Name
1   13 0x8020 d45380   kernel
21 0x80f46000 f0c8 cpufreq.ko
31 0x8113d000 1604 fdescfs.ko
41 0x8113f000 946  pflog.ko
51 0x8114 2d0efpf.ko

...but still no-go:


root@onion:~ # powerd -v
powerd: no cpufreq(4) support -- aborting: No such file or directory

Also commented out the powerd entries from /etc/rc.conf, rebooted
again, no difference.

many thanks,
--
John
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: problems with powerd and cpufreq on AMD Quad-Core A8-4555M

2016-02-28 Thread Dewayne Geraghty
Bottom posted

On 29 February 2016 at 12:36, John  wrote:

> On Mon, Feb 29, 2016 at 08:29:14AM +1100, Dewayne Geraghty wrote:
>
> Thanks John, I have cpufreq added via the boot/loader.conf which always
>> works. However, over the weekend, I was testing some boot changes and
>> tried
>> to add cpufreq AFTER the kernel - unsuccessfully.  This was amd64
>> 10.3Beta1
>> and 10.3Beta3.
>>
>> A workaround (for you) might be to remove it from the kernel and load
>> cpufreq via loader.conf?
>>
>> I have some other problems (with usb nic's axge,axe) but I'll pursue if I
>> get time for enough info for a PR
>>
>
> Hi Dewayne,
>
> Thanks for looking at this. I modified loader.conf:
>
> $ cat /boot/loader.conf
> cpufreq_load="YES"
>
> then recompiled the kernel and rebooted:
>
> 10.3-BETA3 #1 r296151
>
> root@onion:~ # kldstat
> Id Refs AddressSize Name
> 1   13 0x8020 d45380   kernel
> 21 0x80f46000 f0c8 cpufreq.ko
> 31 0x8113d000 1604 fdescfs.ko
> 41 0x8113f000 946  pflog.ko
> 51 0x8114 2d0efpf.ko
> ...but still no-go:
>
> root@onion:~ # powerd -v
> powerd: no cpufreq(4) support -- aborting: No such file or directory
>
> Also commented out the powerd entries from /etc/rc.conf, rebooted
> again, no difference.
>
> many thanks,
>
> --
> John
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>

That's a nuisance!

As I said, IF I load the module before the kernel, I'm good as follows.
However if I load after booting, then I don't have any frequencies to
choose from.

I'm afraid the only "help" I can provide is of my working situation :(  The
order might be relevant.


This is the early part of my /boot/loader.conf
kern.hz="250"

kern.coredump="0"
loader_logo="none"
beastie_disable="YES"
autoboot_delay="1"

kern.geom.label.ext2fs.enable="0"
kern.geom.label.reiserfs.enable="0"

cpufreq_load="YES"
coretemp_load="YES"
mac_ifoff_load="YES"

-
kldstat
 1   20 0x8020 aef9a8   kernel
 21 0x80cf 2cc0 coretemp.ko
 31 0x80cf3000 ef38 cpufreq.ko
 41 0x80d02000 2b60 mac_ifoff.ko

# sysctl -e dev.cpu.0.freq_levels
dev.cpu.0.freq_levels=1801/25000 1800/25000 1700/23232 1600/21501
1500/20046 1400/18382 1300/16988 1200/15393 1100/14060 1000/12527 900/11252
800/9783

# /etc/rc.d/powerd onestart
Starting powerd.
# ps -axww|grep power
32365  -  Ss0:00.00 /usr/sbin/powerd
32382  5  S+0:00.00 grep power

Then I
/usr/sbin/powerd -vv
load   0%, current freq 1801 MHz ( 0), wanted freq 1744 MHz
changing clock speed from 1801 MHz to 1800 MHz
load   0%, current freq 1800 MHz ( 1), wanted freq 1689 MHz
changing clock speed from 1800 MHz to 1700 MHz
load   0%, current freq 1700 MHz ( 2), wanted freq 1636 MHz
load   0%, current freq 1700 MHz ( 2), wanted freq 1584 MHz

So its working as expected.  (I used to make extensive use of powerd, but
my customers' wanted top performance during the day, so I adjust the CPU
frequencies instead, based on time.)

As I might have mentioned, if I load after the kernel, then kldload will
show cpufreq.ko but there will be no frequencies to choose from.

Might be relevant??
Kind regards, Dewayne
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"