Newsgroup: it.comp.os.linux.software
Titolo: brasero - dma?

 sudo hdparm - d 1 /dev/hdb la risposta è la seguente:
hdparm - get/set hard disk parameters - version v8.9
Usage:  hdparm  [options] [device] ..
Options:
  -a   get/set fs readahead
  -A   get/set the drive look-ahead flag (0/1)
  -b   get/set bus state (0 == off, 1 == on, 2 == tristate)
  -B   set Advanced Power Management setting (1-255)
  -c   get/set IDE 32-bit IO setting
  -C   check drive power mode status
  -d   get/set using_dma flag
  -D   enable/disable drive defect management
  -E   set cd-rom drive speed
  -f   flush buffer cache for device on exit
  -F   flush drive write cache
  -g   display drive geometry
  -h   display terse usage information
  -H   read temperature from drive (Hitachi only)
  -i   display drive identification
  -I   detailed/current information directly from drive
  -k   get/set keep_settings_over_reset flag (0/1)
  -K   set drive keep_features_over_reset flag (0/1)
  -L   set drive doorlock (0/1) (removable harddisks only)
  -M   get/set acoustic management (0-254, 128: quiet, 254: fast)
  -m   get/set multiple sector count
  -N   get/set max visible number of sectors (HPA) (VERY DANGEROUS)
  -n   get/set ignore-write-errors flag (0/1)
  -p   set PIO mode on IDE interface chipset (0,1,2,3,4,...)
  -P   set drive prefetch count
  -q   change next setting quietly
  -Q   get/set DMA queue_depth (if supported)
  -r   get/set device  readonly flag (DANGEROUS to set)
  -R   obsolete
  -s   set power-up in standby flag (0/1) (DANGEROUS)
  -S   set standby (spindown) timeout
  -t   perform device read timings
  -T   perform cache read timings
  -u   get/set unmaskirq flag (0/1)
  -U   obsolete
  -v   defaults; same as -acdgkmur for IDE drives
  -V   display program version and exit immediately
  -w   perform device reset (DANGEROUS)
  -W   get/set drive write-caching flag (0/1)
  -x   obsolete
  -X   set IDE xfer mode (DANGEROUS)
  -y   put drive in standby mode
  -Y   put drive to sleep
  -Z   disable Seagate auto-powersaving mode
  -z   re-read partition table
  --direct          use O_DIRECT to bypass page cache for timings
  --drq-hsm-error   crash system with a "stuck DRQ" error (VERY DANGEROUS)
  --fibmap          show device extents (and fragmentation) for a file
  --fibmap-sector   show absolute LBA of a specfic sector of a file
  --Istdin          read identify data from stdin as ASCII hex
  --Istdout         write identify data to stdout as ASCII hex
  --make-bad-sector deliberately corrupt a sector directly on the media 
(VERY DANGEROUS)
  --read-sector     read and dump (in hex) a sector directly from the media
  --security-help   display help for ATA security commands
  --verbose         display extra diagnostics from some commands
  --write-sector    repair/overwrite a (possibly bad) sector directly on 
the media (VERY DANGEROUS)
che faccio? mi date una mano risolvere?
grazie in anticipo.
-- 
Nicola
Thank's and Good Luck

chopin72 ha scritto:

  il primo comando digitato è stato:
hdparm /dev/hdd
risposta:
No such file or directory
-- 


chopin72 wrote:
Non è che hai dischi SATA, che i vedono come sda, sdb etc...?
-- 
All science is either physics or stamp collecting.
                -- Ernest Rutherford

chopin72 wrote:
Non è che hai dischi SATA, che i vedono come sda, sdb etc...?
dai un "sudo mount" e posta qui l'output


 dai un "sudo mount" e posta qui l'output
ecco qua:
/dev/sdb1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/chopin72/.gvfs type fuse.gvfs-fuse-daemon 
(rw,nosuid,n


 dai un "sudo mount" e posta qui l'output
ecco qua:
/dev/sdb1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/chopin72/.gvfs type fuse.gvfs-fuse-daemon 
(rw,nosuid,nodev,user=chopin72)


 /dev/sdb1 on / 
Mi pare che tu abbia dischi SATA allora. Quello che stai facendo è corretto,
pero dovresti sostituire, al posto di "hda" il device corrispondente al/ai
tuo/tuoi lettore/i o masterizzatore/i. Per esempio, da me è "sg0"...
Ossia, prova 
sudo hdparm -d1 /dev/sg0
E se non funziona, posta l'output di
dmesg


 dmesg
ecco cosa mi risponde:
/dev/sg0:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Inappropriate ioctl for device
  HDIO_GET_DMA failed: Inappropriate ioctl for device
sembra tutto ok, non faccio nulla o ...?


 
Non è ok :-s
Il comando hdparm -I /dev/sg0 ti dirà quale modalità é attiva. Prova un
po' :-/


 po' :-/
Permission denied


 Permission denied
 
 
allora sudo hdparm -I /dev/sg0


 allora sudo hdparm -I /dev/sg0
ecco qua:
/dev/sg0:
ATA device, with non-removable media
	Model Number:       Maxtor 6Y080L0
	Serial Number:      Y2BMZANE
	Firmware Revision:  YAR41BW0
Standards:
	Used: ATA/ATAPI-7 T13 1532D revision 0
	Supported: 7 6 5 4
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  160086528
	device size with M = 1024*1024:       78167 MBytes
	device size with M = 1000*1000:       81964 MBytes (81 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Standby timer values: spec'd by Standard, no device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Advanced power management level: 254
	Recommended acoustic management value: 192, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	    	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_VERIFY command
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	   *	Automatic Acoustic Management feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
Security:
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
HW reset results:
	CBLID- above Vih
	Device num = 0 determined by CSEL


 Firmware Revision:  YAR41BW0
Aspè, questo é il disco rigido!
Serve l'output di hdparm -I relativo al DVD.
tagliamo la testa al toro: manda l'output di
dmesg


 
lunghissimo:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on. 
Total pages: 389567
[    0.000000] Kernel command line: 
root=UUID=4553591e-0c50-4631-a157-a391e4472ae3 ro quiet splash
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[    0.000000] TSC: PIT calibration confirmed by PMTIMER.
[    0.000000] TSC: using PMTIMER calibration value
[    0.000000] Detected 1599.943 MHz processor.
[    0.004000] Console: colour VGA+ 80x25
[    0.004000] console [tty0] enabled
[    0.004000] Dentry cache hash table entries: 131072 (order: 7, 524288 
bytes)
[    0.004000] Inode-cache hash table entries: 65536 (order: 6, 262144 
bytes)
[    0.004000] Memory: 1543448k/1572544k available (2576k kernel code, 
27644k reserved, 1165k data, 424k init, 655040k highmem)
[    0.004000] virtual kernel memory layout:
[    0.004000]     fixmap  : 0xffc77000 - 0xfffff000   (3616 kB)
[    0.004000]     pkmap   : 0xff400000 - 0xff800000   (4096 kB)
[    0.004000]     vmalloc : 0xf8800000 - 0xff3fe000   ( 107 MB)
[    0.004000]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
[    0.004000]       .init : 0xc04ad000 - 0xc0517000   ( 424 kB)
[    0.004000]       .data : 0xc03840da - 0xc04a7680   (1165 kB)
[    0.004000]       .text : 0xc0100000 - 0xc03840da   (2576 kB)
[    0.004000] Checking if this processor honours the WP bit even in 
supervisor mode...Ok.
[    0.004000] CPA: page pool initialized 1 of 1 pages preallocated
[    0.004000] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, 
CPUs=2, Nodes=1
[    0.004020] Calibrating delay loop (skipped), value calculated using 
timer frequency.. 3199.88 BogoMIPS (lpj=6399772)
[    0.004052] Security Framework initialized
[    0.004067] SELinux:  Disabled at boot.
[    0.004111] AppArmor: AppArmor initialized
[    0.004124] Mount-cache hash table entries: 512
[    0.004403] Initializing cgroup subsys ns
[    0.004409] Initializing cgroup subsys cpuacct
[    0.004413] Initializing cgroup subsys memory
[    0.004435] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 
bytes/line)
[    0.004438] CPU: L2 Cache: 256K (64 bytes/line)
[    0.004461] Checking 'hlt' instruction... OK.
[    0.020588] SMP alternatives: switching to UP code
[    0.027236] ACPI: Core revision 20080609
[    0.029463] ACPI: Checking initramfs for custom DSDT
[    0.449383] ENABLING IO-APIC IRQs
[    0.449633] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.489324] CPU0: AMD Sempron(tm) Processor 2800+ stepping 00
[    0.492030] Brought up 1 CPUs
[    0.492030] Total of 1 processors activated (3199.88 BogoMIPS).
[    0.492030] CPU0 attaching NULL sched-domain.
[    0.492030] net_namespace: 840 bytes
[    0.492030] Booting paravirtualized kernel on bare hardware
[    0.492030] Time:  9:02:29  Date: 02/23/09
[    0.492030] NET: Registered protocol family 16
[    0.492030] EISA bus registered
[    0.492030] ACPI: bus type pci registered
[    0.492030] PCI: Using configuration type 1 for base access
[    0.492240] ACPI: EC: Look up EC in DSDT
[    0.500847] ACPI: Interpreter enabled
[    0.500852] ACPI: (supports S0 S1 S3 S4 S5)
[    0.500872] ACPI: Using IOAPIC for interrupt routing
[    0.510888] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    0.510986] PCI: 0000:00:00.0 reg 10 32bit mmio: [f8000000, fbffffff]
[    0.511125] pci 0000:00:03.1: quirk: region 0800-083f claimed by 
ali7101 ACPI
[    0.511152] PCI: 0000:00:04.0 reg 10 io port: [e800, e8ff]
[    0.511158] PCI: 0000:00:04.0 reg 14 32bit mmio: [febff000, febfffff]
[    0.511184] pci 0000:00:04.0: supports D1
[    0.511187] pci 0000:00:04.0: supports D2
[    0.511190] pci 0000:00:04.0: PME# supported from D2 D3hot D3cold
[    0.511195] pci 0000:00:04.0: PME# disabled
[    0.511216] PCI: 0000:00:0d.0 reg 10 io port: [e400, e4ff]
[    0.511221] PCI: 0000:00:0d.0 reg 14 32bit mmio: [febfec00, febfecff]
[    0.511239] pci 0000:00:0d.0: PME# supported from D3hot D3cold
[    0.511243] pci 0000:00:0d.0: PME# disabled
[    0.511254] PCI: 0000:00:0e.0 reg 10 io port: [1f0, 1ff]
[    0.511258] PCI: 0000:00:0e.0 reg 14 io port: [3f4, 3f7]
[    0.511263] PCI: 0000:00:0e.0 reg 18 io port: [170, 17f]
[    0.511268] PCI: 0000:00:0e.0 reg 1c io port: [374, 377]
[    0.511273] PCI: 0000:00:0e.0 reg 20 io port: [ff00, ff0f]
[    0.511290] PCI: 0000:00:0e.1 reg 10 io port: [f80, f87]
[    0.511295] PCI: 0000:00:0e.1 reg 14 io port: [f00, f03]
[    0.511300] PCI: 0000:00:0e.1 reg 18 io port: [e80, e87]
[    0.511304] PCI: 0000:00:0e.1 reg 1c io port: [e00, e03]
[    0.511309] PCI: 0000:00:0e.1 reg 20 io port: [ee80, ee8f]
[    0.511330] PCI: 0000:00:0f.0 reg 10 32bit mmio: [febfd000, febfdfff]
[    0.511358] PCI: 0000:00:0f.1 reg 10 32bit mmio: [febfc000, febfcfff]
[    0.511383] PCI: 0000:00:0f.2 reg 10 32bit mmio: [febfb000, febfbfff]
[    0.511415] PCI: 0000:00:0f.3 reg 10 32bit mmio: [febfe800, febfe8ff]
[    0.511436] pci 0000:00:0f.3: PME# supported from D0 D3hot D3cold
[    0.511440] pci 0000:00:0f.3: PME# disabled
[    0.511533] PCI: 0000:01:00.0 reg 10 32bit mmio: [fd000000, fdffffff]
[    0.511539] PCI: 0000:01:00.0 reg 14 32bit mmio: [e0000000, efffffff]
[    0.511554] PCI: 0000:01:00.0 reg 30 32bit mmio: [fe9e0000, fe9fffff]
[    0.511589] PCI: bridge 0000:00:01.0 32bit mmio: [fc900000, fe9fffff]
[    0.511593] PCI: bridge 0000:00:01.0 32bit mmio pref: [d4800000, 
f47fffff]
[    0.511625] PCI: 0000:02:07.0 reg 10 32bit mmio: [feaffc00, feafffff]
[    0.511654] pci 0000:02:07.0: supports D1
[    0.511656] pci 0000:02:07.0: supports D2
[    0.511678] pci 0000:00:02.0: transparent bridge
[    0.511684] PCI: bridge 0000:00:02.0 32bit mmio: [fea00000, feafffff]
[    0.511695] bus 00 -> node 0
[    0.511703] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.511876] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
[    0.511982] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HTT_._PRT]
[    0.524998] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 
14 15)
[    0.525247] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 
14 15)
[    0.525488] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11 12 
14 15)
[    0.525728] ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 
14 15)
[    0.525970] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 10 11 12 
14 15)
[    0.526211] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 *5 6 7 10 11 12 
14 15)
[    0.526452] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 *11 12 
14 15)
[    0.526694] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 
14 15) *9
[    0.526934] ACPI: PCI Interrupt Link [LNKP] (IRQs 3 4 *5 6 7 10 11 12 
14 15)
[    0.527136] ACPI Warning (tbutils-0217): Incorrect checksum in table 
[OEMB] - DB, should be CD [20080609]
[    0.527146] Linux Plug and Play Support v0.97 (c) Adam Belay
[    0.527190] pnp: PnP ACPI init
[    0.527201] ACPI: bus type pnp registered
[    0.533425] pnp: PnP ACPI: found 14 devices
[    0.533430] ACPI: ACPI bus type pnp unregistered
[    0.533435] PnPBIOS: Disabled by ACPI PNP
[    0.533904] PCI: Using ACPI for IRQ routing
[    0.534046] NET: Registered protocol family 8
[    0.534046] NET: Registered protocol family 20
[    0.534046] NetLabel: Initializing
[    0.534046] NetLabel:  domain hash size = 128
[    0.534046] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.534046] NetLabel:  unlabeled traffic allowed by default
[    0.534046] tracer: 772 pages allocated for 65536 entries of 48 bytes
[    0.534046]    actual entries 65620
[    0.534046] AppArmor: AppArmor Filesystem Enabled
[    0.534046] ACPI: RTC can wake from S4
[    0.534046] system 00:08: ioport range 0x400-0x40f has been reserved
[    0.534046] system 00:08: ioport range 0x480-0x48f has been reserved
[    0.534046] system 00:08: ioport range 0x4d0-0x4d1 has been reserved
[    0.534046] system 00:08: ioport range 0x800-0x87f could not be reserved
[    0.534046] system 00:08: iomem range 0xfff80000-0xffffffff could not 
be reserved
[    0.534046] system 00:09: iomem range 0xffbc0000-0xffbfffff could not 
be reserved
[    0.534046] system 00:09: iomem range 0xfec00000-0xfec00fff has been 
reserved
[    0.534046] system 00:09: iomem range 0xfee00000-0xfee00fff has been 
reserved
[    0.534046] system 00:0c: ioport range 0x680-0x6ff has been reserved
[    0.534046] system 00:0c: ioport range 0x295-0x296 has been reserved
[    0.534046] system 00:0d: iomem range 0x0-0x9ffff could not be reserved
[    0.534046] system 00:0d: iomem range 0xc0000-0xdffff could not be 
reserved
[    0.534046] system 00:0d: iomem range 0xe0000-0xfffff could not be 
reserved
[    0.534046] system 00:0d: iomem range 0x100000-0x5fffffff could not 
be reserved
[    0.570694] pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
[    0.570698] pci 0000:00:01.0:   IO window: disabled
[    0.570704] pci 0000:00:01.0:   MEM window: 0xfc900000-0xfe9fffff
[    0.570709] pci 0000:00:01.0:   PREFETCH window: 
0x000000d4800000-0x000000f47fffff
[    0.570716] pci 0000:00:02.0: PCI bridge, secondary bus 0000:02
[    0.570719] pci 0000:00:02.0:   IO window: disabled
[    0.570724] pci 0000:00:02.0:   MEM window: 0xfea00000-0xfeafffff
[    0.570728] pci 0000:00:02.0:   PREFETCH window: disabled
[    0.570745] pci 0000:00:01.0: setting latency timer to 64
[    0.570752] pci 0000:00:02.0: setting latency timer to 64
[    0.570757] bus: 00 index 0 io port: [0, ffff]
[    0.570760] bus: 00 index 1 mmio: [0, ffffffff]
[    0.570762] bus: 01 index 0 mmio: [0, 0]
[    0.570765] bus: 01 index 1 mmio: [fc900000, fe9fffff]
[    0.570768] bus: 01 index 2 mmio: [d4800000, f47fffff]
[    0.570770] bus: 01 index 3 mmio: [0, 0]
[    0.570773] bus: 02 index 0 mmio: [0, 0]
[    0.570775] bus: 02 index 1 mmio: [fea00000, feafffff]
[    0.570778] bus: 02 index 2 mmio: [0, 0]
[    0.570781] bus: 02 index 3 io port: [0, ffff]
[    0.570783] bus: 02 index 4 mmio: [0, ffffffff]
[    0.570804] NET: Registered protocol family 2
[    0.570847] IP route cache hash table entries: 32768 (order: 5, 
131072 bytes)
[    0.570847] TCP established hash table entries: 131072 (order: 8, 
1048576 bytes)
[    0.572070] Switched to high resolution mode on CPU 0
[    0.573287] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.574238] TCP: Hash tables configured (established 131072 bind 65536)
[    0.574244] TCP reno registered
[    0.574455] NET: Registered protocol family 1
[    0.574646] checking if image is initramfs... it is
[    1.465191] Freeing initrd memory: 8002k freed
[    1.466204] audit: initializing netlink socket (disabled)
[    1.466232] type=2000 audit(1235379749.464:1): initialized
[    1.473780] highmem bounce pool size: 64 pages
[    1.473789] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[    1.476508] VFS: Disk quotas dquot_6.5.1
[    1.476639] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.476793] msgmni has been set to 1752
[    1.476975] io scheduler noop registered
[    1.476978] io scheduler anticipatory registered
[    1.476981] io scheduler deadline registered
[    1.476996] io scheduler cfq registered (default)
[    1.477140] pci 0000:01:00.0: Boot video device
[    1.477547] isapnp: Scanning for PnP cards...
[    1.830884] isapnp: No Plug & Play device found
[    1.875138] Serial: 8250/16550 driver4 ports, IRQ sharing enabled
[    1.875277] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.876286] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.878367] brd: module loaded
[    1.878460] input: Macintosh mouse button emulation as 
/devices/virtual/input/input0
[    1.878619] PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[    1.878623] PNP: PS/2 appears to have AUX port disabled, if this is 
incorrect please boot with i8042.nopnp
[    1.879375] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.880281] mice: PS/2 mouse device common for all mice
[    1.880455] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
[    1.880479] rtc0: alarms up to one month
[    1.880630] EISA: Probing bus 0 at eisa.0
[    1.880667] EISA: Detected 0 cards.
[    1.880671] cpuidle: using governor ladder
[    1.880674] cpuidle: using governor menu
[    1.881329] TCP cubic registered
[    1.881373] Using IPI No-Shortcut mode
[    1.881688] registered taskstats version 1
[    1.881842]   Magic number: 13:616:20
[    1.882051] rtc_cmos 00:02: setting system clock to 2009-02-23 
09:02:31 UTC (1235379751)
[    1.882056] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.882059] EDD information not available.
[    1.882623] Freeing unused kernel memory: 424k freed
[    1.882704] Write protecting the kernel text: 2580k
[    1.882751] Write protecting the kernel read-only data: 940k
[    1.904369] input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input1
[    2.196045] fuse init (API version 7.9)
[    2.432044] processor ACPI0007:00: registered as cooling_device0
[    3.300270] No dock devices found.
[    3.401834] SCSI subsystem initialized
[    3.441414] usbcore: registered new interface driver usbfs
[    3.441451] usbcore: registered new interface driver hub
[    3.441528] usbcore: registered new device driver usb
[    3.470421] ehci_hcd 0000:00:0f.3: PCI INT D -> GSI 23 (level, low) 
-> IRQ 23
[    3.470441] ehci_hcd 0000:00:0f.3: EHCI Host Controller
[    3.470542] ehci_hcd 0000:00:0f.3: new USB bus registered, assigned 
bus number 1
[    3.492060] ehci_hcd 0000:00:0f.3: debug port 1
[    3.492095] ehci_hcd 0000:00:0f.3: irq 23, io mem 0xfebfe800
[    3.496222] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller 
(OHCI) Driver
[    3.504034] ehci_hcd 0000:00:0f.3: USB 2.0 started, EHCI 1.00, driver 
10 Dec 2004
[    3.504279] usb usb1: configuration #1 chosen from 1 choice
[    3.504314] hub 1-0:1.0: USB hub found
[    3.504330] hub 1-0:1.0: 8 ports detected
[    3.520045] libata version 3.00 loaded.
[    3.712503] ohci_hcd 0000:00:0f.0: PCI INT A -> GSI 20 (level, low) 
-> IRQ 20
[    3.712526] ohci_hcd 0000:00:0f.0: OHCI Host Controller
[    3.712558] ohci_hcd 0000:00:0f.0: new USB bus registered, assigned 
bus number 2
[    3.712590] ohci_hcd 0000:00:0f.0: irq 20, io mem 0xfebfd000
[    3.770381] usb usb2: configuration #1 chosen from 1 choice
[    3.770416] hub 2-0:1.0: USB hub found
[    3.770432] hub 2-0:1.0: 3 ports detected
[    3.872424] ohci_hcd 0000:00:0f.1: PCI INT B -> GSI 21 (level, low) 
-> IRQ 21
[    3.872445] ohci_hcd 0000:00:0f.1: OHCI Host Controller
[    3.872476] ohci_hcd 0000:00:0f.1: new USB bus registered, assigned 
bus number 3
[    3.872509] ohci_hcd 0000:00:0f.1: irq 21, io mem 0xfebfc000
[    3.930329] usb usb3: configuration #1 chosen from 1 choice
[    3.930368] hub 3-0:1.0: USB hub found
[    3.930382] hub 3-0:1.0: 3 ports detected
[    4.136427] ohci_hcd 0000:00:0f.2: PCI INT C -> GSI 22 (level, low) 
-> IRQ 22
[    4.136448] ohci_hcd 0000:00:0f.2: OHCI Host Controller
[    4.136478] ohci_hcd 0000:00:0f.2: new USB bus registered, assigned 
bus number 4
[    4.136510] ohci_hcd 0000:00:0f.2: irq 22, io mem 0xfebfb000
[    4.194307] usb usb4: configuration #1 chosen from 1 choice
[    4.194343] hub 4-0:1.0: USB hub found
[    4.194360] hub 4-0:1.0: 3 ports detected
[    4.299628] sata_uli 0000:00:0e.1: version 1.3
[    4.299650] sata_uli 0000:00:0e.1: PCI INT A -> GSI 19 (level, low) 
-> IRQ 19
[    4.302525] scsi0 : sata_uli
[    4.306539] scsi1 : sata_uli
[    4.306636] ata1: SATA max UDMA/133 cmd 0xf80 ctl 0xf00 bmdma 0xee80 
irq 19
[    4.306640] ata2: SATA max UDMA/133 cmd 0xe80 ctl 0xe00 bmdma 0xee88 
irq 19
[    4.312060] usb 3-2: new low speed USB device using ohci_hcd and 
address 2
[    4.523342] usb 3-2: configuration #1 chosen from 1 choice
[    4.552511] usbcore: registered new interface driver hiddev
[    4.558566] input: USB Mouse               as 
/devices/pci0000:00/0000:00:0f.1/usb3/3-2/3-2:1.0/input/input2
[    4.559204] input,hidraw0: USB HID v1.10 Mouse [USB Mouse 
   ] on usb-0000:00:0f.1-2
[    4.559235] usbcore: registered new interface driver usbhid
[    4.559239] usbhid: v2.6:USB HID core driver
[    4.928115] pata_ali 0000:00:0e.0: PCI INT A -> GSI 19 (level, low) 
-> IRQ 19
[    4.928288] scsi2 : pata_ali
[    4.928839] scsi3 : pata_ali
[    4.931997] ata3: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 
irq 14
[    4.932027] ata4: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xff08 
irq 15
[    5.105187] ata3.00: ATA-7: Maxtor 6Y080L0, YAR41BW0, max UDMA/133
[    5.105193] ata3.00: 160086528 sectors, multi 16: LBA
[    5.148875] ata3.01: ATA-7: ST3250820A, 3.AAF, max UDMA/100
[    5.148879] ata3.01: 488397168 sectors, multi 16: LBA48
[    5.164407] ata3.00: configured for UDMA/133
[    5.224755] ata3.01: configured for UDMA/100
[    5.396322] ata4.00: ATAPI: _NEC DVD_RW ND-3520A, 1.04, max UDMA/33
[    5.396340] ata4.00: WARNING: ATAPI DMA disabled for reliablity 
issues.  It can be enabled
[    5.396344] ata4.00: WARNING: via pata_ali.atapi_dma modparam or 
corresponding sysfs node.
[    5.396360] ata4.01: ATAPI: PLEXTOR CD-R   PX-W4824A, 1.05, max UDMA/33
[    5.396375] ata4.01: WARNING: ATAPI DMA disabled for reliablity 
issues.  It can be enabled
[    5.396379] ata4.01: WARNING: via pata_ali.atapi_dma modparam or 
corresponding sysfs node.
[    5.412260] ata4.00: configured for UDMA/33
[    5.428226] ata4.01: configured for UDMA/33
[    5.428383] scsi 2:0:0:0: Direct-Access     ATA      Maxtor 6Y080L0 
  YAR4 PQ: 0 ANSI: 5
[    5.429157] scsi 2:0:1:0: Direct-Access     ATA      ST3250820A 
  3.AA PQ: 0 ANSI: 5
[    5.430365] scsi 3:0:0:0: CD-ROM            _NEC     DVD_RW ND-3520A 
  1.04 PQ: 0 ANSI: 5
[    5.431579] scsi 3:0:1:0: CD-ROM            PLEXTOR  CD-R   PX-W4824A 
1.05 PQ: 0 ANSI: 5
[    5.450652] scsi 2:0:0:0: Attached scsi generic sg0 type 0
[    5.450701] scsi 2:0:1:0: Attached scsi generic sg1 type 0
[    5.450747] scsi 3:0:0:0: Attached scsi generic sg2 type 5
[    5.450800] scsi 3:0:1:0: Attached scsi generic sg3 type 5
[    5.504997] Driver 'sd' needs updating - please use bus_type methods
[    5.505155] sd 2:0:0:0: [sda] 160086528 512-byte hardware sectors 
(81964 MB)
[    5.505174] sd 2:0:0:0: [sda] Write Protect is off
[    5.505178] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    5.505204] sd 2:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[    5.505302] sd 2:0:0:0: [sda] 160086528 512-byte hardware sectors 
(81964 MB)
[    5.505317] sd 2:0:0:0: [sda] Write Protect is off
[    5.505320] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    5.505345] sd 2:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[    5.505352]  sda:<4>Driver 'sr' needs updating - please use bus_type 
methods
[    5.518967]  sda1 sda2 < sda5 >
[    5.535238] sd 2:0:0:0: [sda] Attached SCSI disk
[    5.535356] sd 2:0:1:0: [sdb] 488397168 512-byte hardware sectors 
(250059 MB)
[    5.535376] sd 2:0:1:0: [sdb] Write Protect is off
[    5.535380] sd 2:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[    5.535408] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[    5.535477] sd 2:0:1:0: [sdb] 488397168 512-byte hardware sectors 
(250059 MB)
[    5.535492] sd 2:0:1:0: [sdb] Write Protect is off
[    5.535495] sd 2:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[    5.535522] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[    5.535528]  sdb: sdb1 sdb2 < sdb5 >
[    5.576431] sd 2:0:1:0: [sdb] Attached SCSI disk
[    5.595087] sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[    5.595095] Uniform CD-ROM driver Revision: 3.20
[    5.595245] sr 3:0:0:0: Attached scsi CD-ROM sr0
[    5.597246] sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
[    5.597347] sr 3:0:1:0: Attached scsi CD-ROM sr1
[    6.082021] PM: Starting manual resume from disk
[    6.082028] PM: Resume from partition 8:21
[    6.082030] PM: Checking hibernation image.
[    6.082263] PM: Resume from disk failed.
[    6.132109] EXT3-fs: INFO: recovery required on readonly filesystem.
[    6.132117] EXT3-fs: write access will be enabled during recovery.
[   10.856410] kjournald starting.  Commit interval 5 seconds
[   10.856444] EXT3-fs: sdb1: orphan cleanup on readonly fs
[   10.856453] ext3_orphan_cleanup: deleting unreferenced inode 4563075
[   10.856530] EXT3-fs: sdb1: 1 orphan inode deleted
[   10.856532] EXT3-fs: recovery complete.
[   10.894276] EXT3-fs: mounted filesystem with ordered data mode.
[   16.064869] udevd version 124 started
[   17.470551] input: PC Speaker as /devices/platform/pcspkr/input/input3
[   17.512211] uli526x: ULi M5261/M5263 net driver, version 0.9.3 
(2005-7-29)
[   17.512270] uli526x 0000:00:0d.0: PCI INT A -> GSI 17 (level, low) -> 
IRQ 17
[   17.537212] eth0: ULi M5263 at pci0000:00:0d.0, 00:13:8f:07:0e:99, 
irq 17.
[   17.588878] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   17.623972] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   17.660184] ali1563_smbus 0000:00:03.0: Found ALi1563 SMBus at 0x0400
[   17.720223] Linux agpgart interface v0.103
[   17.764248] agpgart-amd64 0000:00:00.0: AGP bridge [10b9/1689]
[   17.764285] agpgart-amd64 0000:00:00.0: setting up ULi AGP
[   17.770234] agpgart-amd64 0000:00:00.0: AGP aperture is 64M @ 0xf8000000
[   17.854878] ali1535_smbus 0000:00:03.1: ALI1535_smb region 
uninitialized - upgrade BIOS?
[   17.854884] ali1535_smbus 0000:00:03.1: ALI1535 not detected, module 
not inserted.
[   17.872086] ali15x3_smbus 0000:00:03.1: ALI15X3_smb region 
uninitialized - upgrade BIOS or use force_addr=0xaddr
[   17.872095] ali15x3_smbus 0000:00:03.1: ALI15X3 not detected, module 
not inserted.
[   17.924393] isp1760 0000:00:03.1: enabling device (0000 -> 0001)
[   18.313656] input: Power Button (FF) as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[   18.324046] ACPI: Power Button (FF) [PWRF]
[   18.324296] input: Power Button (CM) as 
/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input5
[   18.336033] ACPI: Power Button (CM) [PWRB]
[   19.394865] Linux video capture interface: v2.00
[   19.536125] parport_pc 00:06: reported by Plug and Play ACPI
[   19.536221] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 
[PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[   19.579401] saa7130/34: v4l2 driver version 0.2.14 loaded
[   19.581897] saa7134 0000:02:07.0: PCI INT A -> GSI 19 (level, low) -> 
IRQ 19
[   19.581907] saa7134[0]: found at 0000:02:07.0, rev: 1, irq: 19, 
latency: 32, mmio: 0xfeaffc00
[   19.581915] saa7134[0]: subsystem: 4e42:0138, board: LifeView 
FlyVIDEO3000 [card=2,autodetected]
[   19.581930] saa7134[0]: board init: gpio is 38500
[   19.581934] saa7134[0]: there are different flyvideo cards with 
different tuners
[   19.581936] saa7134[0]: out there, you might have to use the 
tuner=<nr> insmod
[   19.581938] saa7134[0]: option to override the default value.
[   19.582094] input: saa7134 IR (LifeView FlyVIDEO30 as 
/devices/pci0000:00/0000:00:02.0/0000:02:07.0/input/input6
[   19.863766] saa7134[0]: i2c eeprom 00: 42 4e 38 01 10 28 ff ff ff ff 
ff ff ff ff ff ff
[   19.863780] saa7134[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863790] saa7134[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863799] saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863808] saa7134[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863817] saa7134[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863826] saa7134[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863835] saa7134[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863844] saa7134[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863853] saa7134[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863862] saa7134[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863871] saa7134[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863880] saa7134[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863889] saa7134[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863898] saa7134[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.863907] saa7134[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   19.956059] nvidia: module license 'NVIDIA' taints kernel.
[   20.356037] tuner' 1-0061: chip found @ 0xc2 (saa7134[0])
[   20.608060] tuner-simple 1-0061: creating new instance
[   20.608068] tuner-simple 1-0061: type set to 5 (Philips PAL_BG 
(FI1216 and compatibles))
[   20.672269] saa7134[0]: registered device video0 [v4l2]
[   20.672313] saa7134[0]: registered device vbi0
[   20.672355] saa7134[0]: registered device radio0
[   20.688247] Intel ICH 0000:00:04.0: PCI INT A -> GSI 18 (level, low) 
-> IRQ 18
[   20.722168] saa7134 ALSA driver for DMA sound loaded
[   20.722216] saa7134[0]/alsa: saa7134[0] at 0xfeaffc00 irq 19 
registered as card -2
[   21.716080] AC'97 1 does not respond - RESET
[   21.716542] AC'97 1 access is not valid [0xffffffff], removing mixer.
[   21.716552] Unable to initialize codec #1
[   21.772084] intel8x0_measure_ac97_clock: measured 54978 usecs
[   21.772089] intel8x0: clocking to 48000
[   21.773343] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> 
IRQ 16
[   21.773731] NVRM: loading NVIDIA UNIX x86 Kernel Module  173.14.12 
Thu Jul 17 18:11:36 PDT 2008
[   23.983459] lp0: using parport0 (interrupt-driven).
[   24.153894] Adding 4546352k swap on /dev/sdb5.  Priority:-1 extents:1 
across:4546352k
[   24.736888] EXT3 FS on sdb1, internal journal
[   25.940677] type=1505 audit(1235376175.104:2): 
operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" 
name2="default" pid=4002
[   26.224563] type=1505 audit(1235376175.388:3): 
operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" 
name2="default" pid=4007
[   26.224983] type=1505 audit(1235376175.388:4): 
operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=4007
[   26.379824] ip_tables: (C) 2000-2006 Netfilter Core Team
[   27.166071] ACPI: WMI: Mapper loaded
[   27.414515] powernow-k8: Power state transitions not supported
[   28.337825] warning: `avahi-daemon' uses 32-bit capabilities (legacy 
support in use)
[   28.433869] apm: BIOS not found.
[   28.629086] ppdev: user-space parallel port driver
[   30.911676] Bluetooth: Core ver 2.13
[   30.913944] NET: Registered protocol family 31
[   30.913951] Bluetooth: HCI device and connection manager initialized
[   30.913957] Bluetooth: HCI socket layer initialized
[   30.931292] Bluetooth: L2CAP ver 2.11
[   30.931300] Bluetooth: L2CAP socket layer initialized
[   30.942897] Bluetooth: SCO (Voice Link) ver 0.6
[   30.942904] Bluetooth: SCO socket layer initialized
[   30.955264] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   30.955272] Bluetooth: BNEP filters: protocol multicast
[   30.994439] Bridge firewalling registered
[   31.131603] Bluetooth: RFCOMM socket layer initialized
[   31.132304] Bluetooth: RFCOMM TTY layer initialized
[   31.132310] Bluetooth: RFCOMM ver 1.10
[   33.649985] agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
[   33.650005] agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x 
mode
[   33.650039] nvidia 0000:01:00.0: putting AGP V3 device into 8x mode
[   38.244382] uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
[   38.330159] NET: Registered protocol family 17
[   42.997459] NET: Registered protocol family 10
[   43.000109] lo: Disabled Privacy Extensions
[   53.208018] eth0: no IPv6 routers present
[  471.149259] ppdev0: registered pardevice
[  471.196057] ppdev0: unregistered pardevice
[  472.284871] ppdev0: registered pardevice
[  472.332296] ppdev0: unregistered pardevice
[  472.416702] ppdev0: registered pardevice
[  472.460497] ppdev0: unregistered pardevice
[22992.437556] UDP: short packet: From 
190.178.136.99:4428
 1729/1480 to 
192.168.1.14:4672


 [ 5.450800] scsi 3:0:1:0: Attached scsi generic sg3 type 5
Allora, ne deduco che i lettori ottici sono sg2 ed sg3.
Il "problema" dovrebbe essere il NEC, se non sbaglio, giusto?
Dai un
sudo hdparm -I /dev/sg2
Che dovrebbe essre il NEC e vedi che modalità di trasferimento è attiva (o
posta qui).
Scusa se mi son sbagliato prima, ho fatto confusione con il mio sistema
misto IDE-SATA


El Che ha scritto:

  esatto ho problemi col nec
ecco qui:
/dev/sg2:
ATAPI CD-ROM, with removable media
	Model Number:       _NEC DVD_RW ND-3520A
	Serial Number:
	Firmware Revision:  1.04
Standards:
	Likely used CD-ROM ATAPI-1
Configuration:
	DRQ response: 3ms.
	Packet size: 12 bytes
Capabilities:
	LBA, IORDY(cannot be disabled)
	DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
  figurati per il tuo sbaglio, sei gentilissimo.


 DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Qui dice che il dma (ultraDMA2) é giá attivo su quel
lettore-masterizzatore :-/
Allora, o il lettore funziona male, o ci sono altri problemi.
Da qui io non riesco a fare altre diagnosi, pero, ad esempio, la visione a
scatti potrebbe essere dovuta ai driver della scheda video non istallati
(per esempio) o altre cause.
Posta qualcosa su it.comp.os.linux.iniziare, con i dettagli. Magari qualcuno
ha qualche indizio più di me.
Riguardo alla masterizzazione, hai provato a lanciare brasero come root
(sudo brasero) per vedere se così puoi masterizzare senza problemi? Se così
ce la fai, c'é qualche permesso da sistemare sui device.
Anche qui,consiglio un post su *.inizare ;)
Buon lavoro


El Che ha scritto:

farò le prove del caso.
grazie ancora
