Re: atapicam cd error

2007-05-23 Thread Carl Johan Gustavsson
JoaoBR wrote:
> Hi, some knows how to solve this problema or what it is?
>
> acd0: CDRW  at ata0-master UDMA33
> acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
> acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
> cd0 at ata0 bus 0 target 0 lun 0
> cd0:  Removable CD-ROM SCSI-0 device
> cd0: 33.000MB/s transfers
> cd0: cd present [1 x 2048 byte records]
> acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
> acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
>
>
> I can still mount and read bot not write anymore
> k3b crashes whith CD inserted or when I put one in telling about
>
> in pthread_testcancel () from lib/libpthread.so.2
> in pthread_mutexattr_init () from lib/libpthread.so.2
> in pthread_setconcurrency () from lib/libpthread.so.2
>
>
>   
It's fixed in latest 6-STABLE.

/cjg
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: partioning failed

2006-10-22 Thread Carl Johan Gustavsson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Josh Paetzel wrote:
> On Sunday 22 October 2006 13:10, Freek Nossin wrote:
>> Hello,
>>
>> I've run into some problems while I was trying to install freebsd
>>  6.1 (i386). When I've finished partitioning and the installer
>> wants to write the partition data to disk, it fails to do so. I
>> used the typical settings, ie one slice on the disc, with a
>> default partitioning scheme (except that I merged the /tmp with
>> /var).
>>
>> The installer reports: unable to find device node for
>> /dev/ad0s1b.
>>
>> I tried to use another hard disk, which resulted in the same
>> error.
>>
>> On VTY1 I got the following messages: ad0: WARNING - READ_DMA
>> UDMA ICRC error (retrying request) LBA=63 ad0: WARNING - READ_DMA
>> UDMA ICRC error (retrying request) LBA=63 ad0: FAILURE - READ_DMA
>> status=51 error=84 LBA=63
>>
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
>> ad0: FAILURE - READ_DMA status=51
>> error=84LBA=0
>>
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=64
>>  ad0: WARNING - READ_DMA UDMA ICRC error (retrying request)
>> LBA=64 ad0: FAILURE - READ_DMA status=51
>> error=84 LBA=64
>>
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
>>  ad0: WARNING - READ_DMA UDMA ICRC error (retrying request)
>> LBA=63 ad0: FAILURE - READ_DMA status=51
>> error=84 LBA=63
>>
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
>>  ad0: WARNING - READ_DMA UDMA ICRC error (retrying request)
>> LBA=63 ad0: FAILURE - READ_DMA status=51
>> error=84 LBA=63
>>
>> System information: Athlon XP 1700+ / 786 MB Asus A7V266 (bios
>> v1.11) Maxtor 60 GB
>>
>> Has anyone any suggestions?
>>
>> Thanks,
>>
>> Freek
>
> I'd try a different cable for the drive.  If that doesn't fix it
> the controller on the motherboard is probably bad.
Hi!

If you are using a 40-pin cable and changing to another 40-pin doesn't
help, test with a 80-pin cable. FreeBSD can be a bit picky about that.

/ Carl

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFO+o08UQ1gvZaLdMRAt/hAKCdVWbYJYZ3SVCvdsw3uagRq8I2GQCgiEl1
wsOmOG7XuGrmlt756+TVq8M=
=r8I0
-END PGP SIGNATURE-

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Boot manager problem

2005-10-15 Thread Carl Johan Gustavsson

Hello,

I have a Compaq ProLiant 400, that i'm using as a fileserver.
(FreeBSD balder.home.swe 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 
10:21:06 UTC 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386)


It has a scsi-disk (da0) and two ide-disks, ad0 (at ata0-master) and ad2 
(at ata1-master).

da0 contains the system, ad0 and ad2 is just for storage.

The problem is that the bios doesn't allow me to boot directly to da0. I 
solve this by having a MBR on ad0, the problem is that it tries to find 
a loader on the ad0 which is wrong, and i get a error message that says 
"Invalid partition". Then I get a boot-prompt and if i write 
"1:da(0,a)/boot/loader" it boots correctly.


Upon booting i get:

F1   FreeBSD
F5   Drive 1

Default: F1

Invalid partition

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/loader
boot: Invalid partition
No /boot/loader

FreeBSD/i368 boot
Default: 0:ad(0,a)/boot/loader
boot: 1:da(0,a)/boot/loader(i write this)

After this it boots correct.

How do i get the bootloader to boot 1:da(0,a)/boot/kernel directly?

With regards Carl Gustavsson

dmesg:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (497.44-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
 
Features=0x383f9ff

real memory  = 402653184 (384 MB)
avail memory = 384335872 (366 MB)
npx0:  on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0:  pcibus 0 on motherboard
pir0:  on motherboard
pci0:  on pcib0
agp0:  mem 
0x4400-0x47ff at device 0.0 on pci0

pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib2:  at device 15.0 on pci0
pci2:  on pcib2
sym0: <895> port 0x1000-0x10ff mem 
0x4010-0x40100fff,0x4030-0x403000ff irq 10 at device 4.0 on pci2

sym0: No NVRAM, ID 7, Fast-40, SE, parity checking
fxp0:  port 0x1c00-0x1c1f mem 
0x4000-0x400f,0x4050-0x40500fff irq 10 at device 5.0 on pci2

miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:50:8b:94:ab:35
pci2:  at device 6.0 (no driver attached)
pci2:  at device 7.0 (no driver attached)
pci0:  at device 16.0 (no driver attached)
isab0:  at device 20.0 on pci0
isa0:  on isab0
atapci0:  port 
0x2060-0x206f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0

ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0:  port 0x2040-0x205f irq 
10 at device 20.2 on pci0

usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0:  at device 20.3 (no driver attached)
orm0:  at iomem 
0xe-0xe7fff,0xc8000-0xcdfff,0xc-0xc7fff on isa0

pmtimer0 on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
fdc0:  at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 497435902 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 76319MB  [155061/16/63] at ata0-master UDMA33
ad2: 190782MB  [387621/16/63] at 
ata1-master UDMA33

acd0: CDROM  at ata1-slave PIO4
Waiting 15 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS mode change from SE to SE.
da0 at sym0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing 
Enabled

da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da0s1a



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"