not mount root after add `amrp` device
Vladimir Ermakov
samflanker at gmail.com
Wed Jan 13 11:36:46 UTC 2010
On 01/11/2010 06:26 PM, Vladimir Ermakov wrote:
> hello, all
>
> # uname -a
> FreeBSD damascus 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Mon Jan 11
> 12:40:28 CET 2010 root at damascus:/usr/obj/usr/src/sys/DAMASCUS i386
>
> have `LSILogic Intel(R) RAID Controller SRCU42X`
> need passthrough interface to `amr` device for connect to HDDs with
> smartmontools
> after load modules cam.ko, amr_cam and enter command `camcontrol
> rescan all`, all works
>
> but after added `amrp` device to kernel, compile/install and reboot
> with new kernel, system is can not mount root point
verbose
part from /var/log/messages (stage after boot, kldload arm_cam.ko,
camcontrol rescan all )
-----------------------------------------------------------------------------------------------------------
Jan 12 10:35:25 damascus kernel: Timecounters tick every 1.000 msec
Jan 12 10:35:25 damascus kernel: IPsec: Initialized Security Association
Processing.
Jan 12 10:35:25 damascus kernel: ipfw2 initialized, divert enabled, nat
enabled, rule-based forwarding enabled, default to accept, logging disabled
Jan 12 10:35:25 damascus kernel: amr0: delete logical drives supported
by controller
Jan 12 10:35:25 damascus kernel: amrd0: <LSILogic MegaRAID logical
drive> on amr0
Jan 12 10:35:25 damascus kernel: amrd0: 210009MB (430098432 sectors)
RAID 1 (optimal)
Jan 12 10:35:25 damascus kernel: lapic6: Forcing LINT1 to edge trigger
Jan 12 10:35:25 damascus kernel: SMP: AP CPU #1 Launched!
Jan 12 10:35:25 damascus kernel: Trying to mount root from ufs:/dev/amrd0s1a
Jan 12 10:39:21 damascus sshd[2640]: error: PAM: authentication error
for illegal user user from 216.151.141.40
Jan 12 10:50:03 damascus sudo: venom : TTY=ttyv1 ; PWD=/home/venom ;
USER=root ; COMMAND=/usr/bin/su -
Jan 12 10:50:47 damascus kernel: amrp0: <SCSI Passthrough Bus> on amr0
Jan 12 10:52:36 damascus login: 1 LOGIN FAILURE ON ttyv0
Jan 12 10:53:20 damascus kernel: <<22>>NMNIM IIS AI SA 30, EISA 43
Jan 12 10:53:20 damascus kernel: 0, EISA 4
Jan 12 10:53:22 damascus kernel: <2<>2N>MNIM II SIAS A 2200, ,E IESIAS A 4
Jan 12 10:53:22 damascus kernel: 4
Jan 12 10:53:22 damascus kernel:
Jan 12 10:53:22 damascus kernel: NMNIM I IISSA A 20,20 E,IS A E4I
Jan 12 10:53:22 damascus kernel: S
Jan 12 10:53:22 damascus kernel: A 4
Jan 12 10:53:22 damascus kernel: <2<>NM2I> INSMAI I2SA 0,2 0E,I SEA I4
Jan 12 10:53:22 damascus kernel: SA
Jan 12 10:53:22 damascus kernel: 4
Jan 12 10:53:22 damascus kernel: kernel
Jan 12 10:53:22 damascus kernel: <t2ra>pN MI I19S wAi t3h0 ,i
ntEeIrSrAup t4s
Jan 12 10:53:22 damascus kernel: disabled
Jan 12 10:53:22 damascus kernel: NMI ISA 30, EISA 4
Jan 12 10:53:22 damascus kernel: <NM2I>N IMISA ISA2 0, 2EI0S, AE 4I
Jan 12 10:53:22 damascus kernel: S
Jan 12 10:53:22 damascus kernel: A 4
Jan 12 10:53:22 damascus kernel: N<MI2> INSMAI 3I0,S AE IS3A0 ,4
Jan 12 10:53:22 damascus kernel: E
Jan 12 10:53:22 damascus kernel: ISA 4
Jan 12 10:53:25 damascus kernel: kernel t
Jan 12 10:53:25 damascus kernel: ra<p2 >NMI IS1A9 wit30h, iEnIteSrAr u4p
Jan 12 10:53:25 damascus kernel: ts disabled
Jan 12 10:53:25 damascus kernel: NMI ISA 20, EISA 4
Jan 12 10:53:25 damascus kernel: kern
Jan 12 10:53:25 damascus kernel: e<l2 t>rNaMpI ISA 19 3wi0th, EiISnAt e4rr
Jan 12 10:53:25 damascus kernel: upts disabled
Jan 12 10:53:25 damascus kernel: NMI ISA 30, EISA 4
Jan 12 10:53:25 damascus kernel: <2N>MNIM IIS AI SA20 , E20I,S AE I4SA
Jan 12 10:53:25 damascus kernel:
Jan 12 10:53:25 damascus kernel: 4
Jan 12 10:53:25 damascus kernel: kernel
Jan 12 10:53:25 damascus kernel: t<r2a>pN MI 19I wSitA h 3i0,n tEeIrSAr u4p
Jan 12 10:53:25 damascus kernel: ts disabled
Jan 12 10:53:25 damascus kernel: NMI ISA 20, EISA 4
Jan 12 10:53:25 damascus kernel: kkerenrenle l ttrraapp 1199 wwiitthh
iinntteerrrruuptpst sd idissaabblleedd
Jan 12 10:53:25 damascus kernel: NMI ISA 20, EISA 4
Jan 12 10:53:25 damascus kernel:
***
Jan 12 10:53:52 damascus kernel: kernel
Jan 12 10:53:52 damascus kernel: t<r2>apNM I ISA1 92 w0, iEtIhS iAn t4
Jan 12 10:53:52 damascus kernel: errupts disabled
Jan 12 10:53:52 damascus kernel: NMI ISA 30, EISA 4
Jan 12 10:53:53 damascus kernel: kernel trap
Jan 12 10:53:53 damascus kernel: abled
Jan 12 10:53:53 damascus kernel: NMI ISA 30, EISA 4
Jan 12 10:53:53 damascus kernel: <N2M>INM II SIA SA 20,2 0EI,S AEIS 4A
Jan 12 10:53:53 damascus kernel:
Jan 12 10:53:53 damascus kernel: 4
Jan 12 10:53:55 damascus kernel: (probe0:amr0:0:6:0): TEST UNIT READY.
CDB: 0 0 0 0 0 0
Jan 12 10:53:55 damascus kernel: (probe0:amr0:0:6:0): CAM Status: SCSI
Status Error
Jan 12 10:53:55 damascus kernel: (probe0:amr0:0:6:0): SCSI Status: Check
Condition
Jan 12 10:53:55 damascus kernel: (probe0:amr0:0:6:0): ILLEGAL REQUEST
asc:24,0
Jan 12 10:53:55 damascus kernel: (probe0:amr0:0:6:0): Invalid field in CDB
Jan 12 10:53:55 damascus kernel: (probe0:amr0:0:6:0): Unretryable error
Jan 12 10:53:55 damascus kernel: ses0 at amr0 bus 0 target 6 lun 0
Jan 12 10:53:55 damascus kernel: ses0: <ESG-SHV SCA HSBP M22 0.06> Fixed
Processor SCSI-2 device
Jan 12 10:53:55 damascus kernel: ses0: 166.664MB/s transfers (41.666MHz,
offset 31, 32bit)
Jan 12 10:53:55 damascus kernel: ses0: SAF-TE Compliant Device
Jan 12 10:54:32 damascus kernel: <<2>N2M>IN IMSIA ISA 30, EIS30A ,4 E
Jan 12 10:54:32 damascus kernel: IS
Jan 12 10:54:32 damascus kernel: A 4
Jan 12 10:55:02 damascus kernel: <<2>N2MI> NIMSIA ISA 30,3 0E,I SAE I4S
Jan 12 10:55:02 damascus kernel:
Jan 12 10:55:02 damascus kernel: A 4
Jan 12 10:55:05 damascus kernel: <<2>N2M>INM IIS AI SA 30, EI3S0A, E4IS
Jan 12 10:55:05 damascus kernel: A
Jan 12 10:55:05 damascus kernel: 4
Jan 12 10:55:15 damascus kernel: <<2>N2M>INMI IISSAA 3030,, EEIISSAA 44
-----------------------------------------------------------------------------------------------------------
and system go to `kernel panic` after command: kldunload amr_cam
/venom
More information about the freebsd-scsi
mailing list