SCSI Emulation im Kernel und erster Erfahrungsbericht

D

destiny

Guest
ich bin begeisterter neueinsteiger (2 tage) und befasse mich gerade mit dem anpassen des kernels, der grund ist fuer mich erstmal nur mein dvd brenner, den ich demnaechst nutzen moechte und muss!
okay, kernel anpassen, steht ja viel geschreiben und ist auch gut im handbuch erklaert, mein problem ist nur, das der IDE dvd brenner, meinst einziges IDE geraet ist und ich habe angst (nachdem ich das so gelesen habe) das dann bei dieser konstellation was durcheinander kommt koennte - muss ich mir mit diesem mischsystem sorgen machen? dmesg sagt im uebrigen noch, dass der brenner im PIO modus laeuft, ist aber DMA eingestellt (BIOS) ....ist aber bestimmt ein "MSdenkfehler", nehme ich mal an ;-)
ausserdem wartet er beim booten immer 15 sekunden auf meine scsi geraete, kann ich bestimmt auch bei der kernelkonfiguration aendern - oder? vielen dank, es gibt noch tausend fragen, aber die finde ich hoffentlich weitestgehend alleine raus, ich wollte nur nicht gleich alles neu installieren muessen, dafuer waere es zu schade ...

========
Copyright (c) 1992-2004 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.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a33000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a331f4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.83-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 536805376 (511 MB)
avail memory = 511766528 (488 MB)
ACPI APIC Table: <IntelR AWRDACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00fde20
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82875P host to AGP bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 16
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xcc00-0xcc1f at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> 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
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xc000-0xc01f at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xc400-0xc41f at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xc800-0xc81f at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
fwohci0: <Texas Instruments TSB43AB23> mem 0xfb000000-0xfb003fff,0xfb005000-0xfb0057ff irq 18 at device 2.0 on pci2
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:50:8d:00:00:fa:a7:cb
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:50:8d:fa:a7:cb
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ahc0: <Adaptec 3960D Ultra160 SCSI adapter> port 0x9000-0x90ff mem 0xfb004000-0xfb004fff irq 20 at device 4.0 on pci2
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 3960D Ultra160 SCSI adapter> port 0x9400-0x94ff mem 0xfb006000-0xfb006fff irq 21 at device 4.1 on pci2
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pci2: <multimedia, audio> at device 5.0 (no driver attached)
cbb0: <RF5C475 PCI-CardBus Bridge> mem 0xfb007000-0xfb007fff irq 23 at device 7.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [MPSAFE]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
wi0: <Compaq Compaq WL110 PC Card> at port 0x100-0x13f irq 23 function 0 config 1 on pccard0
wi0: 802.11 address: 00:02:a5:6f:28:91
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (6.16.1)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
acd0: DVDR <_NEC DVD_RW ND-2500A> at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
GEOM: create disk cd0 dp=0xc47ede00
GEOM: create disk cd1 dp=0xc4a58e00
GEOM: create disk da0 dp=0xc4a3b450
SMP: AP CPU #1 Launched!
da0 at ahc1 bus 0 target 1 lun 0
da0: <FUJITSU MAE3091LP 5209> Fixed Direct Access SCSI-2 device
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabledda0: 8704MB (17826240 512 byte sectors: 255H 63S/T 1109C)
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <PLEXTOR CD-ROM PX-40TS 1.14> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
cd1 at ahc0 bus 0 target 5 lun 0
cd1: <PLEXTOR CD-R PX-W124TS 1.07> Removable CD-ROM SCSI-2 device
cd1: 20.000MB/s transfers (20.000MHz, offset 8)
cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Mounting root from ufs:/dev/da0s1a
=================
ich hoffe ich kann die konfiguration unangetastet lassen, es ist eine wechselfestplatte und die 2. laeuft halt noch mit windows 2000...

was fuer die freaks und langjaehrigen nutzer vielleicht noch interressant zu wissen ist - womit ich die ersten stunden probleme hatte und was meine positiven eindruecke sind:
==========
probleme: - tastaturkonfiguration --> umlaute?, mozilla --> plugins?, openoffice --> installation aus den ports ist nicht gelungen!?, etc/hostname bzw. etc/myhosneme (wie in manchen gefundenen dokus) existiert bei mir schlichtweg nicht...confused?! netzwerk funktioniert aber, ich schreibe jetzt gerade unter bsd,

==========
beeindruckend: performance/handling des systems, soweit ich das nach der zeit beurteilen kann, X funktionierte nach wenigen misslungenen versuchen, ports system an sich (ich habe schon via. cvsup ein update gemacht und aplikationen installiert) aber berauschend war fuer mich, dass meine wlan karte in einer pci/pcmcia bridge (ricoh chipsatz) sofort erkannt und korrekt als wi0 eingebunden wurde :-)
==========
so, danke fuer die gedult, ich verspreche mich in zukunft kuerzer zu fassen und wuensche euch allen noch einen schoenen abend ;-)
 
Zuletzt bearbeitet von einem Moderator:
Ich denk mal, das DMA für die ATAPI-Laufwerke ist noch ausgeschaltet. Einschalten kann man es via
#echo 'hw.ata.atapi_dma="1"' >> /boot/loader.conf

Den Hostnamen trägt man in die /etc/rc.conf ein:
echo 'hostname="dein_hostname"' >> /etc/rc.conf

Die Länge des Wartens für die SCSI-Geräte kann man diese Variable im Kernel anpassen:
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
 
Zurück
Oben